QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#114179#2813. Weirdtreezhangwenxin5 140ms6516kbC++237.0kb2023-06-21 12:21:472023-06-21 12:21:48

詳細信息

Subtask #1:

score: 5
Accepted

Test #1:

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

input:

966 1000
188363740 589476690 819684757 475179567 162289921 733331939 680003760 423847214 703730312 291752235 351463201 937522268 64588573 399012809 272561165 599780539 83270822 164102043 624995073 120374612 678210514 488108346 941579981 767236037 850406512 515467244 934426708 262361378 733612602 464...

output:

99386228771
285701011099
93632056850
281989163332
303817076569
20937894906
73151349399
132107688407
338284462998
24844890982
140888959978
170036512953
50814147522
97561625746
50275796014
55324327797
84580391349
51460901595
55077488581
213665989229
125662359971
96527688937
185212163367
373053648283
1...

result:

ok 344 lines

Test #2:

score: 0
Accepted
time: 1ms
memory: 3580kb

input:

901 1000
999589980 999214195 999743157 999126103 999286490 999267652 999519169 999294650 999667967 999980692 999941414 999668285 999190350 999451283 999145313 999185533 999557613 999043532 999834626 999040010 999897756 999877438 999216017 999586447 999943453 999368148 999692333 999719422 999849610 9...

output:

727634026462
258879131564
17989489017
135928706207
67155102578
334018096039
127934457359
28983788574
35979560747
407981705803
226978163582
252064441115
298035176042
475048150791
512283271171
215983094355
201341449542
43978687370
115133093457
325431689223
435245551509
28984946891
370804457448
1993427...

result:

ok 332 lines

Subtask #2:

score: 0
Wrong Answer

Dependency #1:

100%
Accepted

Test #3:

score: 8
Accepted
time: 133ms
memory: 5688kb

input:

76150 80000
32029657 907857671 760489308 343887940 278226100 168470291 666158587 51251848 303560289 48411978 195584368 46479451 450233214 178362154 115287057 2938850 803717765 968392166 589034650 387534904 77112288 274256234 356840208 60923173 20797864 653643065 960669563 87025676 817522413 93024418...

output:

8220673678337
5971812049042
5242180957615
18711270761608
4512023121457
3137940370252
2563372483105
16476894579540
3810443569280
1752428600492
1277175092759
20184685804489
6170121667098
2671447647025
1307768277360
1171283123140
27506565529812
30664548514130
6755336989583
6736303909111
18622288366634
...

result:

ok 26917 lines

Test #4:

score: -8
Wrong Answer
time: 140ms
memory: 6516kb

input:

74881 80000
999253788 999537237 999938023 999795613 999757608 999870879 999481582 999656236 999836358 999150683 999204145 999227254 999710240 999079025 999693342 999022977 999591405 999677201 999885066 999600228 999064530 999935628 999500310 999306968 999214870 999081235 999627217 999956727 99977794...

output:

54774696496748
42081439967265
17906018025059
1452284489789
34902518420002
52741883167138
8947948612098
28334365276474
43490239641264
37810635150696
31233626512118
43150921158245
15000326330951
2236880854586
17333035338161
28615408426074
1666174151668
27014951042332
55954804298660
894544648946
791510...

result:

wrong answer 4023rd lines differ - expected: '28414091395927', found: '28414091621314'

Subtask #3:

score: 0
Wrong Answer

Test #5:

score: 0
Wrong Answer
time: 3ms
memory: 3556kb

input:

937 1000
631216009 869613152 930472391 565464603 615860285 225788550 621532305 671044759 686011029 102483970 507799388 976017264 586239272 91471532 773404833 981261100 664781538 691746892 973047425 562711051 792865846 686480962 800771605 626015452 783329411 478894142 826983440 279108379 994766235 23...

output:

95606780168
457544848107
219664209531
231993445048
45093491390
212169943157
83594534604
87905941038
225253647227
220778922301
297465997231
120774329594
66658527815
212743149588
138340522475
374923088476
244715791726
115763218918
147286683929
108845359042
45254251636
42707060716
58302194276
184451097...

result:

wrong answer 7th lines differ - expected: '83594534601', found: '83594534604'

Subtask #4:

score: 0
Skipped

Dependency #3:

0%

Subtask #5:

score: 0
Runtime Error

Test #11:

score: 0
Runtime Error

input:

279629 300000
864485544 147664426 873456004 602824795 902744016 20056943 260905686 609162276 241739883 338354289 437560714 444081255 584613844 200551305 963158452 282143442 169245526 10832409 265203076 576549337 275863148 94296798 887754059 15388512 25015579 800125936 979301246 68177101 30414420 446...

output:

Unauthorized output

result:


Subtask #6:

score: 0
Skipped

Dependency #2:

0%

Subtask #7:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

0%