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
Hashing pointers by using...
by
EganSolo
[
Today
at 10:44:45 pm]
project - count source li...
by
bobonwhidbey
[
Today
at 10:30:31 pm]
Recomendations for conver...
by
BlueIcaro
[
Today
at 09:49:20 pm]
FPC 3.2.4-rc1 available
by
PeterBB
[
Today
at 08:31:32 pm]
fpsockets error: 10047
by
parcel
[
Today
at 04:03:56 pm]
So many "newbies"
by
Joanna
[
Today
at 02:52:06 pm]
Is it possible to run "mo...
by
Thausand
[
Today
at 02:42:56 pm]
TIBDataSet "Closing"? on ...
by
RedOctober
[
Today
at 02:38:05 pm]
TLazSerial : serial port ...
by
CM630
[
Today
at 02:20:24 pm]
connecting to mariadb
by
alanyoung
[
Today
at 01:27:11 pm]
How to get the standard m...
by
stem
[
Today
at 12:50:55 pm]
Lookup field: error list ...
by
BlueIcaro
[
Today
at 12:00:10 pm]
Anchoring controls with d...
by
jamie
[
Today
at 11:22:45 am]
Recompiled IDE with LCLRe...
by
AlexTP
[
Today
at 05:09:56 am]
exception external SIGSEG...
by
billjtx
[
Today
at 01:06:50 am]
Commerce website written ...
by
Joanna
[
Today
at 01:00:28 am]
TaurusTLS 1.0.0.25 beta 2...
by
LeP
[December 12, 2025, 09:21:31 pm]
Single / Double / Float s...
by
tetrastes
[December 12, 2025, 09:10:39 pm]
Publish a LAMW app in F-d...
by
spacepascal
[December 12, 2025, 09:00:41 pm]
OS/2 Warp 4 problem with ...
by
PascalDragon
[December 12, 2025, 08:30:23 pm]
Introducing PasBuild 1.0....
by
PascalDragon
[December 12, 2025, 08:20:32 pm]
Convert string with Key-V...
by
Bart
[December 12, 2025, 07:28:04 pm]
The TChromeTabs component...
by
1-berto
[December 12, 2025, 07:02:28 pm]
Military Grade Directives
by
Warfley
[December 12, 2025, 05:44:12 pm]
How can I make a safe app...
by
marcov
[December 12, 2025, 02:58:10 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Interesting problem... even more interesting solution (Read 1272 times)
440bx
Hero Member
Posts: 5896
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
Sr. Member
Posts: 458
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: 18524
Here stood a man who saw the Elbe and jumped it.
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
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.
440bx
Hero Member
Posts: 5896
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: 18524
Here stood a man who saw the Elbe and jumped it.
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
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Miscellaneous
»
Other
»
Interesting problem... even more interesting solution
TinyPortal
© 2005-2018