ENG
RUS
Timus 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
2030
. Awesome Backup System
Show all messages
Hide all messages
Is the output to this testcase correct?
Pinku Deb Nath
14 Oct 2015 11:33
Input:
7
1 1 1 1 1 1 1
1 2
1 3
1 4
1 5
2 6
2 7
9
1 1
1 1
1 1
1 1
1 1
1 6
2 2
1 2
2 7
output:
7
8
I used segment tree, but got wa on testcase 6
Re: Is the output to this testcase correct?
Majin Boo
30 Nov 2015 00:11
Yes, the output is correct.
© 2000–2026
Timus Online Judge Team
. All rights reserved.