Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Miscellaneous
»
Other
»
Interesting problem... even more interesting solution
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Testing Antropic
by
Lauriet
[
Today
at 05:42:25 am]
Lazarus Main not building...
by
dbannon
[
Today
at 05:03:33 am]
Putting a new file on a w...
by
jamie
[
Today
at 02:26:32 am]
Setting the CURSOR for th...
by
jamie
[
Today
at 02:16:55 am]
Windows 2026_7 update and...
by
jamie
[
Today
at 01:45:40 am]
Stopped compiling witout ...
by
jamie
[
Today
at 12:28:38 am]
TPeriodicTable
by
wp
[
Today
at 12:19:25 am]
authentiacte through goog...
by
Packs
[July 17, 2026, 08:52:36 pm]
FPC Unleashed (async/awai...
by
Fibonacci
[July 17, 2026, 08:26:50 pm]
I have made some progress...
by
onionmixer
[July 17, 2026, 08:08:34 pm]
Slow app start on M5 MacB...
by
Martin_fr
[July 17, 2026, 07:54:04 pm]
How to connect to MariaDb...
by
jcmontherock
[July 17, 2026, 06:23:38 pm]
This week in OPM!
by
Tomxe
[July 17, 2026, 05:47:11 pm]
Accessing VRAM memory wit...
by
LemonParty
[July 17, 2026, 04:45:30 pm]
KOL4 Beta available.
by
Thaddy
[July 17, 2026, 04:45:13 pm]
docking IDE
by
Martin_fr
[July 17, 2026, 02:13:28 pm]
Engineering Software from...
by
jamie
[July 17, 2026, 12:51:57 pm]
GTK3 is now the default w...
by
bonmario
[July 17, 2026, 12:50:59 pm]
FastCGI vs. CGI
by
korba812
[July 17, 2026, 12:48:06 pm]
[SOLVED] BitBtn Oddity
by
Petrus Vorster
[July 17, 2026, 09:05:55 am]
Difference between @ and ...
by
paule32
[July 17, 2026, 08:18:43 am]
Lazarus Bugfix Release 4....
by
papillon33
[July 17, 2026, 08:15:45 am]
Many recent books on Laza...
by
Khrys
[July 17, 2026, 06:35:48 am]
Isn’t this funny?
by
n7800
[July 16, 2026, 11:57:09 pm]
Error when opening a proj...
by
Tomu
[July 16, 2026, 09:11:54 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Interesting problem... even more interesting solution (Read 1392 times)
440bx
Hero Member
Posts: 6557
Interesting problem... even more interesting solution
«
on:
November 27, 2024, 02:49:11 am »
Hello,
What follows is, at best, only indirectly related to Pascal or programming in that it tests one's abilities to visualize solutions to a problem.
The problem is one given to elementary school children in China. It is presented in youtube. Link:
https://www.youtube.com/watch?v=3g8voItQD0c
I invite those interested in problem solving to take a crack at it.
For the record, I did solve the problem but not the way I would have liked to have solved it.
Have fun!
Logged
FPC v3.2.2 and Lazarus v4.0rc3 on Windows 7 SP1 64bit.
MathMan
Hero Member
Posts: 530
Re: Interesting problem... even more interesting solution
«
Reply #1 on:
November 27, 2024, 09:09:59 am »
Being the show-off that I am I posted my solution here initially, sorry
Just for the record - I solved it too, mathematically, as I usually do.
«
Last Edit: November 27, 2024, 09:22:29 am by MathMan
»
Logged
Thaddy
Hero Member
Posts: 19438
Glad to be alive.
Re: Interesting problem... even more interesting solution
«
Reply #2 on:
November 27, 2024, 10:59:09 am »
This is an elementary school problem. What's the fuzz?
Logged
Any "programmer" that knows only one programming language is not a programmer
440bx
Hero Member
Posts: 6557
Re: Interesting problem... even more interesting solution
«
Reply #3 on:
November 27, 2024, 02:54:15 pm »
Quote from: MathMan on November 27, 2024, 09:09:59 am
Just for the record - I solved it too, mathematically, as I usually do.
That's how I solved it too but the really beautiful solution, which he gives at the end, I missed.
Logged
FPC v3.2.2 and Lazarus v4.0rc3 on Windows 7 SP1 64bit.
Thaddy
Hero Member
Posts: 19438
Glad to be alive.
Re: Interesting problem... even more interesting solution
«
Reply #4 on:
November 27, 2024, 04:17:24 pm »
Did I miss something in removing the noise? Took less than two seconds to solve it when I knew the constants and the length of the video.
The Chinese are right.
Logged
Any "programmer" that knows only one programming language is not a programmer
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Miscellaneous
»
Other
»
Interesting problem... even more interesting solution
TinyPortal
© 2005-2018