QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#512516#1172. Junkyeom's ContestGuanYunchangTL 0ms3908kbC++14799b2024-08-10 14:46:202024-08-10 14:46:20

详细

Test #1:

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

input:

7
1 2 3 4 5 6 7

output:

-1

result:

ok 1 number(s): "-1"

Test #2:

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

input:

8
1 2 3 4 5 6 7 8

output:

35

result:

ok 1 number(s): "35"

Test #3:

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

input:

10
5 5 5 5 5 5 10 5 5 5

output:

35

result:

ok 1 number(s): "35"

Test #4:

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

input:

7
141492387 72235422 49924898 183332532 178192988 192684636 147499872

output:

965362735

result:

ok 1 number(s): "965362735"

Test #5:

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

input:

8
24608515 140751563 43705451 113994713 52509537 32130709 117463343 87041819

output:

-1

result:

ok 1 number(s): "-1"

Test #6:

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

input:

9
2691939 114300407 182710197 139624191 31858791 176609486 152268030 30225807 79200011

output:

876571113

result:

ok 1 number(s): "876571113"

Test #7:

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

input:

10
2030518 198196518 40274071 183359971 71550121 96204862 199843967 46173607 196619138 2690754

output:

991948184

result:

ok 1 number(s): "991948184"

Test #8:

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

input:

11
85146646 26521171 179278816 8989449 50899375 135650934 129615950 94390299 27618702 179962232 2512657

output:

854944252

result:

ok 1 number(s): "854944252"

Test #9:

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

input:

12
63230070 95037311 78092074 34618927 179991732 80129711 4612126 132541583 48552857 167299118 76773097 141033928

output:

874125457

result:

ok 1 number(s): "874125457"

Test #10:

score: -100
Time Limit Exceeded

input:

20
52405440 186588704 109061481 152472140 16115810 148658854 66743034 28305150 77780684 119361360 8050516 1554301 154478790 146543678 187546138 32279893 41889899 80960260 117802881 188066499

output:


result: