QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#177815#5455. TreeScriptucup-team981WA 23ms3480kbC++20385b2023-09-13 14:05:072023-09-13 14:05:07

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
3
0 1 2
7
0 1 2 2 1 4 1

output:

1
2

result:

ok 2 number(s): "1 2"

Test #2:

score: -100
Wrong Answer
time: 23ms
memory: 3452kb

input:

1000
197
0 1 1 2 1 4 1 5 8 3 5 1 4 7 12 14 4 7 10 9 12 11 16 10 21 19 22 17 25 13 28 9 5 15 26 26 33 25 15 1 35 6 32 17 37 8 19 43 19 27 29 9 30 6 31 27 35 35 37 13 28 38 57 31 38 8 22 14 33 9 18 62 52 37 10 19 22 60 54 12 38 59 64 65 80 82 28 60 85 78 27 25 71 14 52 6 59 14 87 32 33 41 59 41 88 38 ...

output:

171
127
12
121
50
77
248
307
54
97
92
118
438
306
31
38
178
712
48
300
615
17
173
194
189
103
638
40
78
424
6
399
89
26
309
89
20
46
26
82
112
76
56
21
58
79
327
314
55
87
80
7
85
224
498
144
90
231
72
164
345
240
8
220
151
76
51
135
376
110
110
420
423
110
183
393
7
22
177
0
0
495
357
48
34
63
280
...

result:

wrong answer 1st numbers differ - expected: '4', found: '171'