QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#64404#4995. Highest HillMaMengQiWA 81ms4552kbC++201.2kb2022-11-24 19:22:502022-11-24 19:22:51

详细

Test #1:

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

input:

11
0 1 2 3 4 5 4 3 2 1 0

output:

5

result:

ok single line: '5'

Test #2:

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

input:

10
29 85 88 12 52 37 19 86 7 44

output:

67

result:

ok single line: '67'

Test #3:

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

input:

3
2147483647 318000000000 2147483647

output:

315852516353

result:

ok single line: '315852516353'

Test #4:

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

input:

3
1 1 1

output:

0

result:

ok single line: '0'

Test #5:

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

input:

7
7 5 7 6 7 6 6

output:

1

result:

ok single line: '1'

Test #6:

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

input:

7
8 8 9 8 1 5 8

output:

1

result:

ok single line: '1'

Test #7:

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

input:

7
4 10 8 9 6 6 4

output:

2

result:

ok single line: '2'

Test #8:

score: 0
Accepted
time: 17ms
memory: 4420kb

input:

200000
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:

0

result:

ok single line: '0'

Test #9:

score: 0
Accepted
time: 81ms
memory: 4552kb

input:

200000
318000000000 318000000000 318000000000 318000000000 318000000000 318000000000 318000000000 318000000000 318000000000 318000000000 318000000000 318000000000 318000000000 318000000000 318000000000 318000000000 318000000000 318000000000 318000000000 318000000000 318000000000 318000000000 3180000...

output:

0

result:

ok single line: '0'

Test #10:

score: -100
Wrong Answer
time: 74ms
memory: 4420kb

input:

200000
159000000000 159000000001 159000000001 159000000001 159000000001 159000000001 159000000001 159000000001 159000000001 159000000001 159000000001 159000000001 159000000001 159000000001 159000000001 159000000001 159000000001 159000000001 159000000001 159000000001 159000000001 159000000001 1590000...

output:

0

result:

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