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 1726. Visits

For WA2
Posted by MOPDOBOPOT (USU) 29 Aug 2012 23:53
Don't forget about rounding down!
In pascal use trunc(x) instead of round(x)

Example test:
3
1 2
2 1
3 3
output: 2

Edited by author 29.08.2012 23:54