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 1078. Segments

To people who WA#5 ! A sample test helps me AC !!!
input :
5
1 6
2 5
3 4
10 100
20 30
wrong output :
2
5 4
right output :
3
3 2 1

Edited by author 13.08.2010 14:02