QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#512445#1172. Junkyeom's ContestMaMengQiWA 0ms3712kbC++17900b2024-08-10 14:32:322024-08-10 14:32:34

详细

Test #1:

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

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: 3560kb

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: 3560kb

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: 3648kb

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: 3712kb

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: 3616kb

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: 3692kb

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: 3588kb

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: 3712kb

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

input:

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

output:

1164354803

result:

ok 1 number(s): "1164354803"

Test #11:

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

input:

21
135521569 160137548 7874739 123325809 195465063 93137631 46771913 171489138 3747543 1665542 82310956 163114045 92278880 171370111 59773357 109727810 30170326 140240523 86200899 82106547 153987440

output:

1155803868

result:

ok 1 number(s): "1155803868"

Test #12:

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

input:

22
8572289 133686393 146879484 148955287 174814317 132583704 71511192 114673126 24681699 189002429 61604100 19641085 189887482 50972352 176710976 187175727 58642240 134679569 159631621 26403492 101051189 178325936

output:

1255548488

result:

ok 1 number(s): "1255548488"

Test #13:

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

input:

23
91688417 162011045 45692742 174584765 103906675 22286673 51540072 57857114 45615854 71306611 190640347 35976636 127687572 170766082 48938195 169656348 141889962 193959831 128029640 120443541 48114937 198473713 159552755

output:

1260092131

result:

ok 1 number(s): "1260092131"

Test #14:

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

input:

50
134170081 56797965 35040736 45224325 5102476 106020832 167954026 119923972 151391400 39247099 72095141 146927386 116079799 14749285 135104039 39200818 179623552 24872203 57355273 63838168 42352783 174850365 194389351 35930945 10847154 80608047 3727586 122549184 104520573 35608953 66338849 7153646...

output:

1251688145

result:

ok 1 number(s): "1251688145"

Test #15:

score: -100
Wrong Answer
time: 0ms
memory: 3620kb

input:

101
159147539 81989858 197503381 187945335 45245589 36372876 25243512 197516473 183157104 17275611 125659901 2325559 70116022 68253157 7587401 51206763 121627071 196400807 130951940 56514802 188575142 92512898 71305437 12187408 113124298 142632634 105677315 168121898 132428879 47722230 82875309 8100...

output:

-1

result:

wrong answer 1st numbers differ - expected: '1350461249', found: '-1'