QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#843900#9963. Express Rotationsucup-team5101#TL 1052ms67720kbC++233.6kb2025-01-05 06:55:562025-01-05 06:55:56

详细

Test #1:

score: 100
Accepted
time: 7ms
memory: 28756kb

input:

6
6 10 6 5 4 5

output:

16

result:

ok 1 number(s): "16"

Test #2:

score: 0
Accepted
time: 5ms
memory: 28696kb

input:

1
525434

output:

0

result:

ok 1 number(s): "0"

Test #3:

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

input:

20
724315 660084 703741 660084 33388 703741 724315 608476 703741 33388 660084 33388 703741 703741 724315 33388 660084 703741 703741 33388

output:

10450373

result:

ok 1 number(s): "10450373"

Test #4:

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

input:

1000
205212 781871 811133 847754 365647 686203 781871 811133 205212 811133 365647 553550 205212 365647 811133 205212 205212 781871 875225 781871 365647 344701 205212 875225 365647 365647 811133 781871 875225 811133 781871 365647 553550 686203 365647 79214 553550 686203 781871 781871 875225 811133 20...

output:

1703022119

result:

ok 1 number(s): "1703022119"

Test #5:

score: 0
Accepted
time: 5ms
memory: 28692kb

input:

1000
301641 35540 535041 598876 422289 932926 891853 928749 403425 515013 323155 468767 875308 397761 252409 674812 40987 889920 172600 98116 799381 718712 739731 228116 729441 314232 916892 391198 205018 977734 406583 970126 527675 752117 616274 614112 241590 226939 726732 976461 657267 705600 9482...

output:

40529669812

result:

ok 1 number(s): "40529669812"

Test #6:

score: 0
Accepted
time: 1052ms
memory: 30760kb

input:

100000
94951 895049 212507 728671 498212 74168 617364 727973 327553 437083 222970 617364 575451 478998 352348 386134 274500 366753 57576 139115 368828 29040 930954 301558 521133 343205 520174 291315 53520 354416 89181 852743 480847 499918 602700 770649 61483 524841 957354 355385 376270 327553 402615...

output:

8404763653182

result:

ok 1 number(s): "8404763653182"

Test #7:

score: 0
Accepted
time: 121ms
memory: 67720kb

input:

500000
96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770 96770...

output:

0

result:

ok 1 number(s): "0"

Test #8:

score: -100
Time Limit Exceeded

input:

500000
129816 510350 129816 510350 510350 129816 510350 129816 510350 510350 510350 129816 129816 510350 510350 510350 510350 510350 129816 129816 510350 129816 129816 129816 129816 510350 129816 510350 129816 129816 510350 129816 510350 510350 129816 129816 129816 510350 129816 129816 510350 510350...

output:


result: