QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#359249#5455. TreeScriptucup-team960WA 15ms9944kbC++171.9kb2024-03-20 15:18:322024-03-20 15:18:33

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 9772kb

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: 15ms
memory: 9944kb

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:

42
27
4
31
14
21
60
75
14
25
25
31
113
74
9
10
53
171
12
76
150
5
43
52
48
28
138
14
20
101
2
100
19
9
78
26
5
12
8
17
27
21
18
6
18
20
81
76
18
24
23
3
20
57
110
38
27
56
17
49
79
55
4
53
40
23
15
37
97
27
26
107
96
26
48
95
3
7
41
1
1
128
88
17
11
13
70
141
34
53
50
56
28
33
12
14
24
15
37
44
57
5...

result:

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