QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#622127#8141. Digitsucup-team4583WA 395ms63384kbC++176.8kb2024-10-08 19:57:332024-10-08 19:57:33

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

5
2
123456 654321
5
0 0 0 0 0
6
1 1 1 1 1 1
7
1 1 4 5 1 4 1
9
1 2 3 1 1 1 2 1 1

output:

2
16
8
4
6

result:

ok 5 number(s): "2 16 8 4 6"

Test #2:

score: 0
Accepted
time: 2ms
memory: 7408kb

input:

13
7
0 0 4 2 3 3 0
12
3 2 1 0 1 4 3 1 4 4 1 1
12
1 1 2 4 2 4 4 4 4 2 4 1
11
2 0 3 3 3 2 4 1 4 2 4
8
2 3 3 3 3 3 1 4
13
1 2 3 1 1 4 4 0 2 2 1 3 0
6
3 2 1 0 3 4
13
4 0 0 2 4 2 0 2 3 4 1 0 2
12
0 4 0 3 1 1 1 2 2 1 4 0
9
4 1 0 2 4 2 0 0 0
11
0 3 2 0 4 3 1 0 0 3 2
12
0 1 0 1 3 1 2 1 1 0 2 1
12
4 2 2 1 4 ...

output:

3
6
3
1
7
27
0
4
26
0
19
9
6

result:

ok 13 numbers

Test #3:

score: 0
Accepted
time: 5ms
memory: 9576kb

input:

100
1
23232
51
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1
121
1
0
1
233
1
666666
1
134131
1
133331
1
100001
1
110011
1
101101
1
112121
1
120202
1
102201
1
606606
1
654321
1
123456
1
114514
1
91919
1
1234
1
43234
1
4323
1
13331
1
233332
1
2...

output:

1
56971182
1
1
0
1
0
1
1
1
1
0
0
1
1
0
0
0
1
0
1
0
1
1
0
0
0
0
0
0
1
1
1
0
0
1
1
1
1
1
1
1
1
1
1
1
1
0
0
1
0
1
0
1
0
1
0
0
0
0
0
1
0
1
0
0
0
1
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0

result:

ok 100 numbers

Test #4:

score: -100
Wrong Answer
time: 395ms
memory: 63384kb

input:

1
150
1661 2 85240 23709 41081 667 46074 76212 998 364034 4503 91401 24361 3763 82 8395 38388 487 914 3644 4744 99779 184640 194345 213497 217644 269992 311857 349347 369580 410390 414561 544163 553920 561556 594593 231 40614 49245 51903 81655 139511 143038 180131 194366 250429 304722 332007 410643 ...

output:

1

result:

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