QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#113065#3879. Down the Pyramidlmq26052003WA 61ms11416kbC++20909b2023-06-16 09:31:172023-06-16 09:31:20

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

6
12 5 7 7 8 4

output:

2

result:

ok single line: '2'

Test #2:

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

input:

3
10 1000 100

output:

0

result:

ok single line: '0'

Test #3:

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

input:

1
0

output:

1

result:

ok single line: '1'

Test #4:

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

input:

1
1

output:

2

result:

ok single line: '2'

Test #5:

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

input:

1
100000000

output:

100000001

result:

ok single line: '100000001'

Test #6:

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

input:

2
0 0

output:

1

result:

ok single line: '1'

Test #7:

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

input:

7
5 6 7 7 10 9 10

output:

6

result:

ok single line: '6'

Test #8:

score: 0
Accepted
time: 61ms
memory: 11324kb

input:

1000000
100000000 0 100000000 0 100000000 0 100000000 0 100000000 0 100000000 0 100000000 0 100000000 0 100000000 0 100000000 0 100000000 0 100000000 0 100000000 0 100000000 0 100000000 0 100000000 0 100000000 0 100000000 0 100000000 0 100000000 0 100000000 0 100000000 0 100000000 0 100000000 0 1000...

output:

0

result:

ok single line: '0'

Test #9:

score: -100
Wrong Answer
time: 51ms
memory: 11416kb

input:

1000000
100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 10...

output:

-99999999

result:

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