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
1846
. GCD 2010
Test
Posted by
BdE
5 Feb 2018 22:15
in:
9
+ 10
+ 10
+ 10
- 10
- 10
+ 5
- 10
- 5
+ 123
out:
10
10
10
10
10
5
5
1
123
GL. Sqrt decomposition works fine in this problem.
© 2000–2024
Timus Online Judge Team
. All rights reserved.