QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#311866#8138. Alice and Her Lost Catezteam1#WA 1ms5956kbC++142.1kb2024-01-22 21:55:472024-01-22 21:55:48

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 4024kb

input:

2
8
4 2 5 2 4 2 3 2
5 5 6 7 8 9 10 13
1 2
2 3
1 4
1 5
4 6
3 7
5 8
8
4 2 3 3 2 4 4 3
4 6 8 8 9 9 14 17
1 2
2 3
3 4
3 5
4 6
3 7
3 8

output:

4
3

result:

ok 2 number(s): "4 3"

Test #2:

score: 0
Accepted
time: 0ms
memory: 5956kb

input:

3
1
10
5
3
2 1 4
1 2 3
1 2
2 3
10
2 1 4 3 5 6 7 8 9 3
1 1 2 3 4 5 6 7 8 8
1 2
2 3
1 4
1 5
5 6
4 7
1 8
1 9
7 10

output:

0
0
2

result:

ok 3 number(s): "0 0 2"

Test #3:

score: -100
Wrong Answer
time: 0ms
memory: 5940kb

input:

5
10
1 1 3 4 4 2 3 3 3 1
4 4 7 9 17 17 19 19 19 20
1 2
2 3
1 4
2 5
1 6
3 7
1 8
2 9
2 10
10
2 3 3 3 4 1 3 3 1 3
2 4 5 6 9 10 12 15 19 20
1 2
2 3
2 4
1 5
5 6
6 7
7 8
1 9
5 10
10
3 3 3 3 3 3 1 4 2 3
1 4 10 10 14 15 16 17 18 20
1 2
1 3
3 4
1 5
2 6
4 7
6 8
2 9
3 10
10
1 2 1 3 2 3 1 2 1 2
1 1 2 3 4 5 9 9 ...

output:

2
4
4
1
2

result:

wrong answer 2nd numbers differ - expected: '5', found: '4'