QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#151918#4995. Highest HillGuanYunchangWA 17ms7140kbC++171.9kb2023-08-27 15:15:452023-08-27 15:15:47

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3392kb

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: 1ms
memory: 3432kb

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: 1ms
memory: 3428kb

input:

3
2147483647 318000000000 2147483647

output:

315852516353

result:

ok single line: '315852516353'

Test #4:

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

input:

3
1 1 1

output:

0

result:

ok single line: '0'

Test #5:

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

input:

7
7 5 7 6 7 6 6

output:

1

result:

ok single line: '1'

Test #6:

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

input:

7
8 8 9 8 1 5 8

output:

1

result:

ok single line: '1'

Test #7:

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

input:

7
4 10 8 9 6 6 4

output:

2

result:

ok single line: '2'

Test #8:

score: 0
Accepted
time: 7ms
memory: 5132kb

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: 17ms
memory: 4956kb

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: 0
Accepted
time: 17ms
memory: 7140kb

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:

2

result:

ok single line: '2'

Test #11:

score: -100
Wrong Answer
time: 7ms
memory: 5104kb

input:

199997
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'