QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#680822#25. Counterspells1145141145140 107ms4540kbC++14910b2024-10-26 22:55:092024-10-26 22:55:16

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 4488kb

input:

951
0
0
0
3
3
1
3
4
6
1
8
7
0
11
8
6
11
0
5
16
17
8
2
21
7
18
26
27
16
25
12
26
21
0
24
3
8
34
22
2
5
39
34
23
14
1
13
20
23
20
2
50
7
26
51
9
14
0
36
1
23
21
32
7
1
53
2
5
16
7
24
63
62
19
14
51
67
62
3
70
7
32
11
14
18
52
21
43
15
19
75
64
47
68
94
28
2
20
93
39
76
16
87
2
92
97
54
38
71
52
46
36
...

output:

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

result:

wrong answer 2nd lines differ - expected: '0', found: '1'

Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 0
Skipped

Dependency #2:

0%

Subtask #4:

score: 0
Wrong Answer

Test #22:

score: 0
Wrong Answer
time: 107ms
memory: 4540kb

input:

200000
0
1
2
2
0
3
3
2
0
5
2
9
0
5
2
7
1
12
1
15
11
1
3
14
8
4
11
14
15
29
6
3
20
4
14
26
24
30
9
30
2
25
38
29
12
26
17
28
32
35
14
14
28
0
31
43
36
22
34
45
6
17
29
11
53
45
47
66
29
28
57
22
7
10
61
1
59
61
78
31
26
42
70
44
47
5
43
64
0
73
77
20
30
67
76
7
8
20
82
20
29
69
96
25
22
35
95
42
0
75...

output:

1
2
3
3
1
4
4
3
1
2
3
2
1
2
3
5
2
3
2
4
4
2
4
3
4
4
4
3
4
5
5
4
5
4
3
5
4
6
2
6
3
5
7
5
3
5
3
4
5
4
3
3
4
1
6
8
6
3
5
4
5
3
5
4
5
4
4
5
5
4
7
3
5
3
6
2
6
6
7
6
5
6
5
6
4
2
8
5
1
6
7
5
6
5
3
5
4
5
7
5
5
6
6
5
3
4
4
6
1
7
4
6
4
6
8
5
6
2
5
5
6
5
3
7
5
6
6
6
6
2
2
4
5
5
5
6
4
6
4
5
5
8
5
8
4
4
7
7
6
3
...

result:

wrong answer 4th lines differ - expected: '0', found: '3'

Subtask #5:

score: 0
Skipped

Dependency #1:

0%