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

Show all messages Hide all messages

if you get WA#8 or WA#13 try this test case. Adham(TUIT) 18 Sep 2014 23:48
input:
7
1 1000
2 500
501 999
3 499
502 800
4 400
503 700
output:
4
6 4 2 1
or
4
7 5 3 1
No use, still WA#8