QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#189766#7064. Spynew_dawn_2#WA 64ms6012kbC++172.4kb2023-09-27 21:11:272023-09-27 21:11:45

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4
1 2 3 4
1 1 1 1
0 0 1 1
0 1 1 2

output:

3

result:

ok single line: '3'

Test #2:

score: 0
Accepted
time: 63ms
memory: 5924kb

input:

400
1000000000000000000 1000000000000000000 1000000000000000000 1000000000000000000 1000000000000000000 1000000000000000000 1000000000000000000 1000000000000000000 1000000000000000000 1000000000000000000 1000000000000000000 1000000000000000000 1000000000000000000 1000000000000000000 1000000000000000...

output:

160000

result:

ok single line: '160000'

Test #3:

score: 0
Accepted
time: 1ms
memory: 3612kb

input:

40
1000000000000000000 1000000000000000000 1000000000000000000 1000000000000000000 1000000000000000000 1000000000000000000 1000000000000000000 1000000000000000000 1000000000000000000 1000000000000000000 1000000000000000000 1000000000000000000 1000000000000000000 1000000000000000000 10000000000000000...

output:

1600

result:

ok single line: '1600'

Test #4:

score: 0
Accepted
time: 63ms
memory: 5984kb

input:

400
4000000000000000 4000000000000000 4000000000000000 4000000000000000 4000000000000000 4000000000000000 4000000000000000 4000000000000000 4000000000000000 4000000000000000 4000000000000000 4000000000000000 4000000000000000 4000000000000000 4000000000000000 4000000000000000 4000000000000000 4000000...

output:

160000

result:

ok single line: '160000'

Test #5:

score: 0
Accepted
time: 59ms
memory: 5960kb

input:

400
-400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -...

output:

0

result:

ok single line: '0'

Test #6:

score: 0
Accepted
time: 59ms
memory: 6012kb

input:

400
41 18467 6334 26500 19169 15724 11478 29358 26962 24464 5705 28145 23281 16827 9961 491 2995 11942 4827 5436 32391 14604 3902 153 292 12382 17421 18716 19718 19895 5447 21726 14771 11538 1869 19912 25667 26299 17035 9894 28703 23811 31322 30333 17673 4664 15141 7711 28253 6868 25547 27644 32662 ...

output:

0

result:

ok single line: '0'

Test #7:

score: 0
Accepted
time: 60ms
memory: 5984kb

input:

400
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

output:

400

result:

ok single line: '400'

Test #8:

score: 0
Accepted
time: 64ms
memory: 5932kb

input:

400
-1000000000000000000 -1000000000000000000 -1000000000000000000 -1000000000000000000 -1000000000000000000 -1000000000000000000 -1000000000000000000 -1000000000000000000 -1000000000000000000 -1000000000000000000 -1000000000000000000 -1000000000000000000 -1000000000000000000 -1000000000000000000 -1...

output:

0

result:

ok single line: '0'

Test #9:

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

input:

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

output:

0

result:

ok single line: '0'

Test #10:

score: -100
Wrong Answer
time: 1ms
memory: 3468kb

input:

2
0 1
1 1
0 1
0 2

output:

2

result:

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