QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#479060#2574. Fancy Arraysucup-team1005#WA 777ms73576kbC++202.9kb2024-07-15 14:31:472024-07-15 14:31:47

详细

Test #1:

score: 100
Accepted
time: 13ms
memory: 73280kb

input:

12 3
1
2
3

output:

6
21
91

result:

ok 3 number(s): "6 21 91"

Test #2:

score: 0
Accepted
time: 777ms
memory: 73576kb

input:

1 150
471816347971198367
934144370769132530
85747619384378846
928941512582005725
154937870030720168
947932149793416512
27783441557851811
522085897018258944
254251197759739965
280173028039582607
323577718378116194
390211126917894813
349211961997885462
482844442408522462
582732208453073301
94800734555...

output:

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

result:

ok 150 numbers

Test #3:

score: 0
Accepted
time: 762ms
memory: 73376kb

input:

2 150
879653409269605014
957081824205994700
92943925332284309
70508831927780168
72367833784810922
57052500883916366
260855517197770739
493364569696106472
261906268272035425
712282959082227662
35005533487670014
740269757357303611
472541044721679500
231355986572948422
563516773952248704
38987628675191...

output:

1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1

result:

ok 150 numbers

Test #4:

score: 0
Accepted
time: 765ms
memory: 73340kb

input:

4 150
833174642454220423
721913650877167279
111257970647375842
922819627392160450
408011919008881312
938552585499192014
401181394137854787
154596954164557809
43303362814617574
450360165684736834
713407776281798115
265067947883317301
820681723927726574
17493726254665319
431343457571478167
51814600647...

output:

468840309
547289647
533838877
966360705
857529002
153274687
262629852
52838138
491303862
824933368
322126614
254980983
479226482
849822478
733697869
39083554
972201092
931290745
94464717
488665996
671570906
328618580
560220503
648667666
629662517
387210606
508021018
647625623
446432016
725472621
181...

result:

ok 150 numbers

Test #5:

score: 0
Accepted
time: 774ms
memory: 73336kb

input:

12 150
866520608211357891
826644240983841587
604468068635680936
683891212731586479
729458231854829796
199304421232371994
115565992620864149
582246847462487026
45026322404633290
991496269676336501
828552610616377158
777876324164467943
21599638116777490
828672919384884473
156000006365142361
1075758095...

output:

779414664
514445561
232707217
332166208
129233036
140771797
795601301
985364453
520952055
724746825
753012961
330741891
856478920
617535185
769187104
694821591
377746976
624170068
604988921
681705434
307373491
860391243
993177813
401466218
638396860
81657365
567590547
536248402
218207546
850043246
7...

result:

ok 150 numbers

Test #6:

score: -100
Wrong Answer
time: 775ms
memory: 73316kb

input:

60 150
942384627889050160
632722531683900587
323010899964408037
768156669746553097
910441269274010456
574994561230251602
991998693470233584
946559918384472428
688850429932902531
546016664495112655
911292584182165502
544392675853675112
286896336919591702
26067995914490533
342959982557875555
652184567...

output:

672185037
792707515
726332364
66357185
317331834
697752872
570606396
768427378
89192
594627198
759675578
290202642
532273776
347835287
541229574
946991063
698344184
83861775
113453023
834471723
623816930
939242188
924995341
686891791
633049322
373719745
855999820
92606893
404607618
526664175
6673364...

result:

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