QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#842405#9961. Cowsucup-team6239#WA 555ms4324kbC++142.8kb2025-01-04 12:28:512025-01-04 12:28:59

详细

Test #1:

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

input:

5
5 4 0 4 6

output:

4

result:

ok 1 number(s): "4"

Test #2:

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

input:

3
1 4 6

output:

5

result:

ok 1 number(s): "5"

Test #3:

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

input:

1
1

output:

1

result:

ok 1 number(s): "1"

Test #4:

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

input:

1
1000000000

output:

1000000000

result:

ok 1 number(s): "1000000000"

Test #5:

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

input:

8
6 0 5 5 6 3 0 6

output:

4

result:

ok 1 number(s): "4"

Test #6:

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

input:

6
7 6 5 2 6 8

output:

7

result:

ok 1 number(s): "7"

Test #7:

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

input:

10
5 9 3 4 3 2 5 8 2 3

output:

6

result:

ok 1 number(s): "6"

Test #8:

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

input:

10
1 18 3 15 0 14 20 15 14 12

output:

14

result:

ok 1 number(s): "14"

Test #9:

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

input:

10
1 18 3 15 0 14 20 15 15 12

output:

15

result:

ok 1 number(s): "15"

Test #10:

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

input:

20
97 171 3 157 117 35 0 0 173 154 59 58 18 189 27 181 78 20 253 22

output:

100

result:

ok 1 number(s): "100"

Test #11:

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

input:

20
96 171 3 157 117 35 0 0 173 154 59 58 18 188 27 181 78 20 253 22

output:

99

result:

ok 1 number(s): "99"

Test #12:

score: 0
Accepted
time: 3ms
memory: 3816kb

input:

1000
593735308 82782684 48201198 606672331 542608382 778767270 477934211 44729051 264362294 224305033 653755557 885668853 118708751 883106152 840075111 736969436 245937442 943545017 520344248 725034355 640010480 177641398 4028045 527811023 508005025 452498275 65950769 521987921 497919638 401868301 4...

output:

798545293

result:

ok 1 number(s): "798545293"

Test #13:

score: 0
Accepted
time: 3ms
memory: 3888kb

input:

1000
593735308 82782684 48201198 606672331 542608382 778767270 477934211 44729051 264362294 224305033 653755557 885668853 118708751 883106152 840075111 736969436 245937442 943545017 520344248 725034355 640010480 177641398 4028045 527811023 508005025 452498275 65950769 521987921 497919638 401868301 4...

output:

798545294

result:

ok 1 number(s): "798545294"

Test #14:

score: 0
Accepted
time: 2ms
memory: 3868kb

input:

1000
870134339 241622285 382813722 29652671 397661468 288654672 145876238 865005872 351416470 296289588 923558811 85715804 938307829 465854288 539811343 188181196 319886369 236723857 711700821 498884670 696002586 862289696 926586527 475233599 90349521 532316792 261729967 936458764 258814580 49402015...

output:

782381316

result:

ok 1 number(s): "782381316"

Test #15:

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

input:

1000
154900835 362244282 133683941 144852820 410993487 59656968 278536670 91686065 395986164 177161073 96616862 136888208 324917324 189024418 312836428 65208649 265537645 196269190 196269110 196268843 196268472 196268404 254991552 137541760 196265755 396921681 93579719 21703528 57640717 57640723 576...

output:

216943021

result:

ok 1 number(s): "216943021"

Test #16:

score: 0
Accepted
time: 3ms
memory: 3860kb

input:

1000
407654746 26232266 26230431 48223500 4236533 435976355 14315869 574258720 52815217 15052766 485406902 164280922 98696096 131487727 131487726 497481908 21859940 26338202 17379042 435017575 193953580 216828326 171077134 193952721 193952722 193952725 418234198 38642150 70047431 7236818 38641404 50...

output:

216943020

result:

ok 1 number(s): "216943020"

Test #17:

score: 0
Accepted
time: 555ms
memory: 4316kb

input:

131072
308563645 236807753 148836474 894596760 540980272 462494882 990501246 670342265 433904999 446185837 808006869 655879987 677704125 562455648 829313560 203814094 176500104 748682646 108495700 651430146 473204800 516582951 280571619 444168407 222709295 330612220 777614222 141721332 981081779 346...

output:

882731805

result:

ok 1 number(s): "882731805"

Test #18:

score: 0
Accepted
time: 137ms
memory: 4324kb

input:

131073
577029516 392655911 392655905 392655907 392655896 392655883 392655878 392655874 392655869 392655862 392655857 392655849 392655832 392655833 392655824 392655824 392655808 392655806 392655799 392655793 392655789 392655783 392655785 392655777 392655778 392655765 392655761 392655751 392655752 392...

output:

484842712

result:

ok 1 number(s): "484842712"

Test #19:

score: -100
Wrong Answer
time: 138ms
memory: 4320kb

input:

131073
343892941 343892950 343892955 343892960 343892965 343892968 343892970 343892975 343892979 343892983 343892981 343892986 343892987 343892995 343892994 343893000 343893004 343893006 343893005 343893010 343893013 343893014 343893020 343893022 343893025 343893026 343893028 343893028 343893037 343...

output:

484842712

result:

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