ENG  RUSTimus 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 1673. Admission to Exam

Some tests
Posted by Felix_Mate 24 Jul 2017 10:49
144
->185
29756
->29929
800000000
->1001578525
41088
->51365
123456
->123457
1369
->0
369
->0
1024
->1285
58
->59
21414
->0
2000000000
->2500015625
961
->0
1870
->1871
23432
->35151

P.S. use long long (else WA7)