QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#507575#4511. Wonderland Chaseegypt_ioi2024_010 9735ms77764kbC++234.0kb2024-08-06 19:27:112024-08-06 19:27:12

Details

Tip: Click on the bar to expand more detailed information

Pretests


Final Tests

Test #1:

score: 0
Wrong Answer
time: 2ms
memory: 5716kb

input:

100
2 1 1 2
1 2
3 3 1 2
1 3
1 2
2 3
6 6 5 1
1 4
5 6
3 4
3 6
2 3
1 2
6 6 2 4
4 5
1 4
2 3
2 5
1 6
5 6
6 6 2 3
1 3
3 4
2 6
2 5
4 5
1 5
6 5 5 3
2 5
3 4
1 2
3 6
4 6
6 5 1 6
1 4
1 2
5 6
3 5
2 4
30 29 11 5
9 21
25 28
14 20
13 30
21 28
5 18
5 23
8 22
10 30
4 8
7 24
16 26
13 26
12 18
22 23
11 16
3 11
2 17
1 ...

output:

Case #1: 4
Case #2: SAFE
Case #3: 6
Case #4: 4
Case #5: SAFE
Case #6: SAFE
Case #7: SAFE
Case #8: SAFE
Case #9: SAFE
Case #10: 10
Case #11: 2
Case #12: 4
Case #13: SAFE
Case #14: 4
Case #15: 12
Case #16: 10
Case #17: 6
Case #18: 4
Case #19: 28
Case #20: 28
Case #21: 16
Case #22: 4
Case #23: 58
Case ...

result:

wrong answer 1st lines differ - expected: 'Case #1: 2', found: 'Case #1: 4'

Test #2:

score: 0
Wrong Answer
time: 9735ms
memory: 77764kb

input:

100
100000 99999 32832 52005
67463 96972
10280 86580
12146 44520
41541 86634
46936 64223
22701 46291
9093 80967
52512 77386
51062 58931
2092 55026
2096 2384
85102 92986
39914 66949
33370 68952
41576 58836
27668 33997
5843 30705
44415 57721
15188 28706
23340 55082
20335 90872
16029 80328
4656 74633
8...

output:

Case #1: SAFE
Case #2: SAFE
Case #3: 8
Case #4: 2
Case #5: 4
Case #6: SAFE
Case #7: 2
Case #8: 39998
Case #9: 40000
Case #10: 19194
Case #11: 2
Case #12: 99998
Case #13: 100000
Case #14: 16778
Case #15: 2
Case #16: 199998
Case #17: 200000
Case #18: 141806
Case #19: SAFE
Case #20: SAFE
Case #21: SAFE...

result:

wrong answer 4th lines differ - expected: 'Case #4: 4', found: 'Case #4: 2'