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
Discussion of Problem
2113
. Survive the flood
Show all threads
Hide all threads
Show all messages
Hide all messages
Some test cases
Smilodon_am [Obninsk INPE]
2113
. Survive the flood
16 Nov 2021 18:14
3
Some test cases
Smilodon_am [Obninsk INPE]
29 Oct 2019 02:12
See some test cases below. I hope some of them will help you.
2 5
2 3 9 2 100
1 2 5 4 100
2 1
1 5
ans:
0
5 1
100000
0
1
100000
1
4 1
5 1
ans:
0
5 1
100000
0
1
100000
1
3 1
5 1
ans:
0
5 1
100000
0
1
1
1
4 1
5 1
ans:
100000
5 1
100000
1
1
1
1
4 1
5 1
ans:
99999
3 4
1 2 2 1
1 2 2 1
1 2 2 1
2 1
3 4
ans:
0
Re: Some test cases
Pravă Felix-Mihai
8 Apr 2021 21:39
For WA16 these cases helped me:
4 6
1 1 1 2 2 2
2 2 2 3 3 3
4 4 4 4 4 4
4 5 5 5 5 4
2 2
3 1
ans:
-1
4 6
1 1 1 2 2 2
2 2 2 3 3 3
4 4 4 4 4 4
4 5 5 5 5 4
2 3
3 1
ans:
1
Re: Some test cases
andreyDagger
16 Nov 2021 18:14
Thank you!
Wrong answer 10
Тимур
2113
. Survive the flood
24 Mar 2021 12:28
1
Wrong answer 10
Тимур
24 Mar 2021 12:28
Please help
Useful tests
Levon Oganesyan
2113
. Survive the flood
21 May 2020 22:18
1
Useful tests
Levon Oganesyan
21 May 2020 22:18
5 5
5 1 10 1 1
10 1 1 1 1
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
2 2
1 3
Ans: 9
5 5
10 8 8 7 6
8 8 7 6 5
8 7 6 5 4
7 6 5 4 3
6 5 4 3 4
2 2
1 2
Ans: 1
5 5
10 8 8 7 6
8 8 7 6 5
8 7 6 5 4
7 6 5 4 3
6 5 4 3 7
2 2
1 2
Ans: 2
3 3
1 1 1
1 1 1
1 1 10
1 1
2 2
Ans: -1
5 5
1 10 25 30 35
50 1 24 30 35
1 10 23 30 35
10 50 22 30 35
1 39 21 30 39
1 1
1 5
Ans: 9
#WA 18
👑OmegaLuL230👑
2113
. Survive the flood
15 Apr 2020 18:41
3
#WA 18
👑OmegaLuL230👑
16 Feb 2020 01:30
Ho to fix WA on test 18?
Re: #WA 18
👑OmegaLuL230👑
16 Feb 2020 01:47
This test case helped me:
2 3
0 99999 100000
0 100000 99999
answer: 100000
Re: #WA 18
kerpoo
15 Apr 2020 18:41
2 3
1 2 3
3 2 3
1 1
2 2
answer is 2
If you have WA #5
Smilodon_am [Obninsk INPE]
2113
. Survive the flood
29 Oct 2019 02:09
1
If you have WA #5
Smilodon_am [Obninsk INPE]
29 Oct 2019 02:09
If you have WA #5 try below test:
2 5
2 3 9 2 100
1 2 5 4 100
2 1
1 5
Correct answer is 0.
New topic
Style:
flat
|
tree
|
nested
Thread Order:
bubble
|
fixed
© 2000–2025
Timus Online Judge Team
. All rights reserved.