QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#42671#896. HorseslarryzhongWA 294ms67968kbC++172.6kb2022-08-03 12:28:122022-08-03 12:28:13

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
1 1
0
5
2 1 3 2 3

output:

1
14

result:

ok 2 number(s): "1 14"

Test #2:

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

input:

3
0 0
1
6
3 1 3 2 1 2

output:

39

result:

ok 1 number(s): "39"

Test #3:

score: 0
Accepted
time: 0ms
memory: 3576kb

input:

4
1 1 1
1 1
1
10
1 2 3 4 4 3 2 1 2 3

output:

1
2
3
4

result:

ok 4 number(s): "1 2 3 4"

Test #4:

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

input:

3
1 1
0
5
2 3 2 3 2

output:

1
750

result:

ok 2 number(s): "1 750"

Test #5:

score: 0
Accepted
time: 294ms
memory: 67968kb

input:

200
1 0 1 1 0 0 0 0 1 1 1 1 0 1 1 0 0 1 0 1 0 1 0 0 0 1 1 1 0 0 0 0 1 1 1 0 0 1 0 1 1 1 0 1 0 1 1 0 0 1 1 0 0 0 0 0 1 0 1 1 1 0 0 1 1 0 0 1 0 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 1 0 1 0 1 0 1 1 0 1 0 0 1 0 1 0 0 1 0 0 0 0 1 1 0 0 1 0 1 1 0 0 0 1 0 1 0 0 0 1 1 1 1 0 1 0 1 1 1 1 1 0 1 1 1 0 1 0 1 1 1 1 ...

output:

50576481

result:

ok 1 number(s): "50576481"

Test #6:

score: -100
Wrong Answer
time: 248ms
memory: 61096kb

input:

199
0 0 1 0 0 1 1 1 1 0 0 1 1 1 1 0 0 0 0 1 1 1 1 1 1 1 1 1 1 0 1 0 0 0 1 1 1 0 1 1 1 0 0 0 1 1 1 0 1 0 1 1 1 0 1 0 0 1 1 1 1 1 0 1 1 0 1 0 1 1 1 1 1 0 1 0 0 0 1 1 0 1 0 1 1 1 1 1 0 0 1 0 1 0 1 1 0 0 1 1 0 1 0 0 0 0 0 1 0 1 1 0 0 0 0 1 1 0 0 0 1 1 0 1 1 1 1 1 0 0 0 0 1 1 1 1 1 0 0 0 1 0 0 0 0 0 1 1 ...

output:

111284680

result:

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