ENG
RUS
Timus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
Discussion of Problem
2029
. Towers of Hanoi Strike Back
Show all threads
Hide all threads
Show all messages
Hide all messages
easy bfs
👑TIMOFEY👑
2029
. Towers of Hanoi Strike Back
6 Jan 2023 13:44
1
easy bfs
👑TIMOFEY👑
6 Jan 2023 13:44
just read some titles abot hanoi tower and learn some algorithm like floyd and u 100% will can solve this problem
AC
D4nick
2029
. Towers of Hanoi Strike Back
17 Nov 2020 17:02
1
AC
D4nick
17 Nov 2020 17:02
if you wanna get 20 lines solutions, write me on dalydudan@gmail.com
Some tests
Felix_Mate
2029
. Towers of Hanoi Strike Back
26 Aug 2015 16:45
1
Some tests
Felix_Mate
26 Aug 2015 16:45
3
ABC
=> 5
13
CCCCCBBBBBAAABC
=> 992
9
ABCCBACAB
=> 466
9
CCABBACCB
=> 292
10
ACCABBACCB
=> 585
if you have WA#5
nikitaevg
2029
. Towers of Hanoi Strike Back
25 Aug 2015 11:31
1
if you have WA#5
nikitaevg
25 Aug 2015 11:31
the 5th test is really big, you might want to check long longs where it is needed
try this test
50
CCCCC...CCCC (50 times)
answer is 1125899906842623
New topic
Style:
flat
|
tree
|
nested
Thread Order:
bubble
|
fixed
© 2000–2024
Timus Online Judge Team
. All rights reserved.