QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#904152#10095. Productw4p3r Fan Club (Peijian Du, Zhijian Fang, Junsen Lei) AC ✓4048ms317984kbC++1427.5kb2025-02-17 21:57:362025-02-17 21:57:41

詳細信息

Test #1:

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

input:

2 2 2

output:

1
10

result:

ok 2 number(s): "1 10"

Test #2:

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

input:

100 100 100

output:

1
288724001
477404412
847240327
388844119
60081063
382511336
656778732
715208757
458347567
173839136
330412968
871594390
54163986
520130283
894861257
697751100
191809807
596519881
264752553
380475772
774753694
205003415
258884583
507657187
224789401
441690786
733910671
722165795
522099197
529537234
...

result:

ok 100 numbers

Test #3:

score: 0
Accepted
time: 180ms
memory: 19628kb

input:

10000 10000 10000

output:

1
841616425
879018678
828464494
824353479
934437594
684261651
283427416
176711404
593462157
341689268
550748568
97309592
457838656
136079766
94711704
154856521
701974251
861457551
899123401
767934812
783681548
901411309
833556675
895864303
387820295
442453423
769529393
88723206
733802073
167561588
8...

result:

ok 10000 numbers

Test #4:

score: 0
Accepted
time: 4014ms
memory: 317984kb

input:

250000 250000 250000

output:

1
977538799
713071020
642656262
843437895
953939551
334515765
125548294
916390140
646942240
375064651
982842993
112721417
258413725
555579789
386912580
203353646
620154542
815908071
212216000
122585098
548938540
485418623
786547521
773855095
408984962
705041768
722485169
484323895
627828268
51253248...

result:

ok 250000 numbers

Test #5:

score: 0
Accepted
time: 4041ms
memory: 317652kb

input:

250000 1000000000000000000 250000

output:

1
674474200
356838072
423544639
620250749
472812708
467429466
425849422
544855209
138797438
719778389
306535642
986339502
436790422
266311982
415658715
242144610
253918786
742897815
823455763
914993586
706117605
639931316
875046605
162988809
135552036
369784489
175683457
731389739
194710792
60429203...

result:

ok 250000 numbers

Test #6:

score: 0
Accepted
time: 4024ms
memory: 315688kb

input:

250000 1000000000000000000 249999

output:

1
432274433
635272012
372335736
314816479
31062876
429528258
978201943
878737643
119637359
783592035
279481481
402908546
162484816
518316813
824200271
80678587
119112724
893737985
179077628
931294746
546897588
934868287
2843164
784278632
213754991
531691200
645062305
574638099
278555801
517596452
44...

result:

ok 250000 numbers

Test #7:

score: 0
Accepted
time: 4037ms
memory: 316656kb

input:

249999 1000000000000000000 250000

output:

1
674474200
356838072
423544639
620250749
472812708
467429466
425849422
544855209
138797438
719778389
306535642
986339502
436790422
266311982
415658715
242144610
253918786
742897815
823455763
914993586
706117605
639931316
875046605
162988809
135552036
369784489
175683457
731389739
194710792
60429203...

result:

ok 249999 numbers

Test #8:

score: 0
Accepted
time: 4022ms
memory: 316612kb

input:

241987 981121343321878999 238890

output:

1
951533200
944966565
737435680
26700008
201315166
13857231
855199761
496080089
183602747
50367126
250392634
806744764
31731796
265606981
763963523
659670280
428966498
489144773
350912463
114843760
585520736
200445151
69015747
953474979
151333103
506137448
299204044
745196763
576503791
417285710
778...

result:

ok 241987 numbers

Test #9:

score: 0
Accepted
time: 4020ms
memory: 314444kb

input:

250000 900000000000000000 250000

output:

1
88596811
299212258
411700355
485247006
865280274
41471638
3875210
134894519
390851180
888938548
801662167
740423714
508619978
663288694
854166871
283417700
434201304
784008787
565207810
375107087
244797356
825989537
45237315
684036726
791404940
943671358
108944323
598512816
598163457
842839538
681...

result:

ok 250000 numbers

Test #10:

score: 0
Accepted
time: 4033ms
memory: 315576kb

input:

250000 800000000000000000 250000

output:

1
33286348
879551824
577033758
910057381
782116970
545969399
166006368
610131824
581490833
20583070
814938489
690703255
812359682
380313911
835948097
278305226
311436254
989981734
46261489
951280591
433869480
714897746
55813990
328309210
343245000
317168015
887963472
507790568
200021753
292353163
88...

result:

ok 250000 numbers

Test #11:

score: 0
Accepted
time: 4026ms
memory: 315536kb

input:

250000 850000000000000000 250000

output:

1
850463981
919130890
594062815
853844081
340915288
69602994
423763703
744995209
210850487
993120441
964969301
141123493
187865084
532455528
172265983
950171432
220979336
880371218
18648835
39236248
290415692
318667152
951653052
966470245
819239424
548317720
215382408
569671462
404511634
275906691
5...

result:

ok 250000 numbers

Test #12:

score: 0
Accepted
time: 4048ms
memory: 315916kb

input:

250000 930000000000000000 233888

output:

1
913879354
443430322
736466644
397769128
959111419
252430611
887770075
242934908
439535113
251827104
557340629
557604248
312331037
335304552
420836877
851068915
578274735
950030714
260730488
788581921
259988973
179306065
850277354
644761072
472098191
124456383
5233243
76862373
533101079
521456435
7...

result:

ok 250000 numbers

Test #13:

score: 0
Accepted
time: 3989ms
memory: 315784kb

input:

140000 1000000000000000000 250000

output:

1
674474200
356838072
423544639
620250749
472812708
467429466
425849422
544855209
138797438
719778389
306535642
986339502
436790422
266311982
415658715
242144610
253918786
742897815
823455763
914993586
706117605
639931316
875046605
162988809
135552036
369784489
175683457
731389739
194710792
60429203...

result:

ok 140000 numbers

Test #14:

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

input:

101 100 102

output:

1
57234729
327110970
837424947
308436726
90521176
189415601
11967831
818517526
694746636
654362038
277172308
675497915
569788167
27780728
536402869
650201480
662086702
482770872
860152713
120258945
620375259
392523019
974084341
95322104
782869418
92301258
565905704
144429014
56540330
639211147
52457...

result:

ok 101 numbers

Test #15:

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

input:

123 456 789

output:

1
606065649
219325320
752236190
746458375
973373078
830581510
600287883
440906891
305388579
534354385
714656541
89412019
784882591
865510770
984400276
674074764
388411354
205689582
377495363
827083283
724922254
703920660
102797755
201740794
885679171
538258076
505743240
434068122
828364937
196472614...

result:

ok 123 numbers

Test #16:

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

input:

1 10 100

output:

1

result:

ok 1 number(s): "1"

Test #17:

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

input:

100 1 10

output:

1
12
78
364
1365
4368
12376
31824
75582
167960
352716
705432
1352078
2496144
4457400
7726160
13037895
21474180
34597290
54627300
84672315
129024480
193536720
286097760
417225900
600805296
854992152
205077935
677811691
315312734
164728909
287583964
760782584
681628661
168152380
363606607
446979616
63...

result:

ok 100 numbers

Test #18:

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

input:

100 10 1

output:

1
2047
261625
10391745
210766920
738437852
751995961
367882293
626598267
990684424
32946479
746153195
309367626
577393442
149727732
683395486
756615148
203162153
948422841
561114284
798562552
982203275
695555427
600675931
268185566
532424771
926160003
509859984
295191035
522289937
629317861
71197675...

result:

ok 100 numbers

Test #19:

score: 0
Accepted
time: 4004ms
memory: 316844kb

input:

250000 12121212121 250000

output:

1
245722720
107796473
237280018
692737912
416919748
631746435
711104024
415511334
702734699
976979524
725791457
801016883
47722471
631420909
462427749
359269088
874578178
480887167
708391129
967439571
630126451
648395143
40124209
850129997
313151332
958549730
593454741
967467417
567017114
814340975
...

result:

ok 250000 numbers

Extra Test:

score: 0
Extra Test Passed