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
back to board
Discussion of Problem
1224
. Spiral
A few tests (taken from my AC)
Posted by
Христо Попов (B&W)
22 Nov 2022 20:59
3 5 -> 4
5 3 -> 5
1 5 -> 0
5 1 -> 1
10 10 -> 18
99999 99999 -> 199996
2147483647 2147483647 -> 4294967292
I hope it helps!
© 2000–2024
Timus Online Judge Team
. All rights reserved.