QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#210652#5455. TreeScriptucup-team1836#WA 20ms3672kbC++20384b2023-10-11 18:13:092023-10-11 18:13:09

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3572kb

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: 20ms
memory: 3672kb

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:

95
71
7
64
29
46
138
163
35
58
58
74
261
164
20
21
118
393
27
165
320
13
98
105
107
62
322
26
44
233
5
225
48
18
167
55
16
28
21
41
63
49
39
13
37
46
187
174
40
54
47
6
46
126
264
88
55
127
40
96
182
127
5
124
90
48
32
80
220
62
61
236
215
62
106
202
5
17
106
0
0
275
203
33
21
32
160
324
88
124
100
...

result:

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