QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#126419#5150. Alternating AlgorithmZ_301WA 2ms7576kbC++173.8kb2023-07-18 14:52:122023-07-18 14:53:17

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
8 13 4 10

output:

3

result:

ok single line: '3'

Test #2:

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

input:

5
13 12 14 10 14 12

output:

3

result:

ok single line: '3'

Test #3:

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

input:

2
2 2 1

output:

3

result:

ok single line: '3'

Test #4:

score: -100
Wrong Answer
time: 2ms
memory: 7576kb

input:

1
300172042 474444146

output:

-1000000000

result:

wrong answer 1st lines differ - expected: '0', found: '-1000000000'