QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#151865#4995. Highest HillZhaoZiLongWA 16ms5028kbC++14841b2023-08-27 14:51:302023-08-27 14:51:32

詳細信息

Test #1:

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

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: 0ms
memory: 3484kb

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: 0ms
memory: 3472kb

input:

3
2147483647 318000000000 2147483647

output:

315852516353

result:

ok single line: '315852516353'

Test #4:

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

input:

3
1 1 1

output:

0

result:

ok single line: '0'

Test #5:

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

input:

7
7 5 7 6 7 6 6

output:

1

result:

ok single line: '1'

Test #6:

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

input:

7
8 8 9 8 1 5 8

output:

1

result:

ok single line: '1'

Test #7:

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

input:

7
4 10 8 9 6 6 4

output:

2

result:

ok single line: '2'

Test #8:

score: 0
Accepted
time: 8ms
memory: 4984kb

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: 16ms
memory: 5028kb

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: 13ms
memory: 4952kb

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'