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

if you get WA#8 or WA#13 try this test case.
Posted by 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
Re: if you get WA#8 or WA#13 try this test case.
Posted by forrest 9 Jan 2016 12:48
No use, still WA#8