QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#512716#1172. Junkyeom's ContestZhaoZiLongML 346ms5848kbC++111.3kb2024-08-10 15:30:272024-08-10 15:30:27

详细

Test #1:

score: 100
Accepted
time: 234ms
memory: 5680kb

input:

7
1 2 3 4 5 6 7

output:

-1

result:

ok 1 number(s): "-1"

Test #2:

score: 0
Accepted
time: 346ms
memory: 5812kb

input:

8
1 2 3 4 5 6 7 8

output:

35

result:

ok 1 number(s): "35"

Test #3:

score: 0
Accepted
time: 264ms
memory: 5848kb

input:

10
5 5 5 5 5 5 10 5 5 5

output:

35

result:

ok 1 number(s): "35"

Test #4:

score: -100
Memory Limit Exceeded

input:

7
141492387 72235422 49924898 183332532 178192988 192684636 147499872

output:

965362735

result: