QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#293366#7122. Overtakingalch0719 13ms10208kbC++205.2kb2023-12-29 05:47:182024-04-28 08:18:43

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 9
Accepted

Test #1:

score: 9
Accepted
time: 0ms
memory: 5912kb

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
2500 1 78 100 1000
100000
80
0 38 51 89 92 105 117 119 122 126 142 179 259 355 385 410 419 443 483 496 551 671 691 698 709 762 778 818 860 888 897 909 930 938 946 951 955 995 1045 1091 1164 1187 1215 1243 1264 1301 1363 1409 1416 1448 1504 1518 1535 1555 1562 1597 16...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
299664
298224
299166
298008
295102
298070
297182
298650
298312
296396
296524
298070
295838
296910
296892
297374
298684
295184
295710
299062
296382
298684
298110
298008
299530
298766
295966
299062
296794
298998
299738
296418
298588
296876
295102
299860
295710
29577...

result:

ok 

Test #2:

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

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
80000001 1 151251000 400 1000
10000
151251252
0 563193 647572 715146 1130358 1138744 1557704 2110181 2300143 2420378 2557533 2614949 2657752 2838017 2861875 3146425 3202178 3240281 3248583 3280296 3310987 3401711 3683587 3943976 4135364 4214616 4277932 4503844 476465...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
12100095744014512
12100080944160100
12100085508223828
12100095197505388
12100090627084960
12100097311519276
12100080683026612
12100093846636708
12100099968098740
12100096796223124
12100096142019784
12100097662974856
12100083572845936
12100099936140100
121000877792...

result:

ok 

Test #3:

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

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
700000000 1 199 800 1000
2000
200
0 2547880 2899696 3746196 5005561 5262711 7391315 7766094 8058134 12302379 14113798 14139018 16263685 19246991 20293858 21308475 21531629 21609437 22819772 23818245 23866117 24082599 24830023 25092620 25219376 27345462 27398799 28906...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
139981678448
139714673517
139493728857
139777641660
139908912147
139434676500
139585452046
139704974839
139718370512
139701821327
139448528458
139463864882
139927337590
139754511858
139416197864
139844650005
139808181948
139577750390
139643626646
139688190761
1396...

result:

ok 

Test #4:

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

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
1000000000 1 99 1000 1000
1000000000000
100
0 1817308 2789727 3514387 5238876 5972281 7743105 8541339 9248161 10089380 11281389 11329343 14077050 14155477 16510318 19268709 19528706 19612683 19893513 20400622 21278533 21582205 24880066 27530395 27569486 28339765 2922...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
1099248330619
1099325193168
1099666752580
1099563034876
1099525957106
1099785654428
1099996241055
1099847005338
1099823366993
1099082743936
1099501468836
1099332698857
1099168227471
1099262165670
1099409777071
1099821586703
1099761464774
1099878195061
109999213744...

result:

ok 

Test #5:

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

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
1000000000 1 880000000 1000 1000
100000000000000000
880001000
0 709332 1017351 1905741 3045292 3464378 3632596 5704941 6735246 9747846 10704021 12434640 13264129 14081255 14176931 15634238 17365369 18691988 19399867 20069605 21121920 23160840 23345820 24551706 255281...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
980000473593602000
980000328241893000
980000496751131000
980000100732727000
980000460850951000
980000615531582000
980000605439144000
980000435818946000
980000696831126000
980000166079150000
980000940725540000
980000805086273000
980000698057886000
98000016833636000...

result:

ok 

Test #6:

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

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
100000000 1 498 1000 1000
100000000000000000
500
0 160783 205816 346327 347823 367191 395170 441295 639474 718881 831118 875863 1298479 1319125 1431282 1514976 1596686 1644592 1644648 1671765 1680769 1760215 1869745 1989596 2020399 2106354 2289587 2488522 2594930 272...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
100000049926232916
100000049864514052
100000049973025928
100000049995005458
100000049930515196
100000049843074864
100000049920623428
100000049897187068
100000049802862564
100000049946008956
100000049946867894
100000049917050904
100000049822989734
10000004993122233...

result:

ok 

Test #7:

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

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
100000000 1 401 1000 1000
100000000000000000
400
0 31311 143468 183347 233725 256130 444842 481905 486233 527809 549435 664450 1549723 1573249 1619077 1673590 1911655 1913292 2059722 2158189 2259116 2349409 2426923 2437811 2474156 2510525 2528753 2614955 2695324 2871...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
100000040105826882
100000040124582713
100000040181245022
100000040169641106
100000040135428053
100000040137403238
100000040172575752
100000040194573555
100000040163594943
100000040110810308
100000040187649357
100000040116517222
100000040114627594
10000004013557963...

result:

ok 

Test #8:

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

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
10 1 5 5 10
0
6
0 2 8 9 10
9
2
4
5
0
1
2
3
10
20

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
59
52
58
58
50
52
52
58
60
70

result:

ok 

Test #9:

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

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
1000000000 1 880000000 100 100
100000000000000000
880001000
0 18125472 18662947 20132713 38844162 50912725 59000193 70694095 79014902 84781895 107240650 124792182 125767204 150665436 158106715 162875579 169664865 184892442 192426843 210142654 221584689 224390935 2398...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
980000939022239000
980000210142654000
980000989457694000
980000307752813000
970286252078123694
980000000000000000
980000902460888000
980000434973267000
980000906339786000
980000526408935000
980000282731536000
980000434973267000
980000210142654000
98000016966486500...

result:

ok 

Test #10:

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

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
100000000 1 498 100 100
100000000000000000
500
0 829700 1359408 1753928 1877428 2734456 2977184 3054027 3673453 4432770 5771214 5906467 8822394 10489610 11221287 11534731 16500729 19052276 19320520 20664138 20737902 22046077 23121119 29574967 29854061 30109803 304197...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
100000049863849700
100000049962684802
100000049805468912
100000049838104552
100000049869485964
100000049879617250
100000049817644788
100000049913581290
100000049862347240
100000049869319444
100000049995389460
100000049802718816
100000049928978048
10000004992176166...

result:

ok 

Test #11:

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

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
100000000 1 401 100 100
100000000000000000
400
0 1310416 2393682 2579012 3615394 6750570 6794866 6934895 7799665 8347376 8621879 9284983 10987581 12631682 14785700 15715498 16575943 17379309 18460496 18774602 19006189 20255533 22914625 23446266 25870132 26382507 2818...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
100000040195912004
100000040167926330
100000040172845150
100000040194544782
100000040108588211
100000040142271715
100000040141179703
100000040108392021
100000040123135941
100000040177546716
100000040116164403
100000040118375302
100000040115008407
10000004017282049...

result:

ok 

Subtask #2:

score: 10
Accepted

Test #12:

score: 10
Accepted
time: 1ms
memory: 5908kb

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
2000000 100 100 2 1000
566035866 424023571 564031634 266012245 266012901 566037245 106005324 106003684 266012594 424028440 424019007 106005224 564034079 424024371 424024546 566039191 424016814 424029581 82000890 754044052 566036512 424018510 424017279 424019925 42401...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
768035150
768029581
1144044184
308008207
768029581
768029581
956039191
768029581
956041170
768029581
768029581
308008207
956039191
308008207
768029581
768029891
1144044184
418008550
768029581
468009953
308008207
1144044184
768035150
768029581
468010817
768029581
6...

result:

ok 

Test #13:

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

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
10000000 400 1011 2 1000
173387969125 200337983261 77920310897 77652037350 182097978669 118267907350 174157972712 57062023028 118267909308 107247901578 174157973485 146027951049 53742020545 118267912197 174167974422 207927989121 137207921414 143227933063 77992040344 ...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
128387906425
192867977136
218447987834
162297954325
192867978986
34992000977
147437922857
192867979350
67182020640
56912011273
63862013824
162297954325
43302006404
92682052132
120767905711
218447987834
98882054684
138667917161
63862014242
117367898279
210667984418...

result:

ok 

Test #14:

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

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
10000 800 1522451 2 1000
102691961165 356949771920 280550316262 154390571762 439415828789 473733275923 465056851706 434971147676 473185083883 407141567243 446269133331 245826204010 132720147100 266857422544 300276587668 200566213815 304647607947 8994460481 3661139508...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
480548847785
422389308676
261050720686
480548847785
24218980889
488958822294
290598660610
61394536039
454767827473
117916481772
160323101016
454767828952
109098515326
222192213960
467092876761
319997647668
369154287532
146931915291
501350951422
319997648312
242189...

result:

ok 

Test #15:

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

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
500000 1000 10000 2 1000
148512009450 164605927216 127484617319 27096740437 161301908126 227401559568 220855479544 152976736303 161069395645 159703894172 122292102200 189557102648 122405102528 39895753566 164605425801 106641054484 84900003806 152618881097 73504974935...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
237134063601
77319966760
172553429697
60674183017
13155506385
85565990030
188380679354
132653620072
213967471779
69226440539
137641624766
166302397011
221523969131
80847981443
46376261447
37662245837
106741029379
130318611384
221523968061
93106503930
230318554599
...

result:

ok 

Test #16:

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

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
500000 1000 10000 2 1000
36612285378 23369050451 152360966961 15872520226 182265836399 188728204731 213864007043 57066096669 80835239061 207526883647 43857790862 65146624890 89690753835 154413657390 20424038673 49803808788 126917115886 52711828720 118899204834 158725...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
66580596995
198079362901
188002837585
194288360880
167111986766
73714107129
222229390881
108513769364
159439969371
25424526704
108513769364
25424526704
186703323340
108513769364
10576002438
140488624579
62066832985
36920571209
157371466325
100548265663
15330145069...

result:

ok 

Test #17:

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

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
500000 1000 10000 2 1000
4337004497 176521204259 51880125384 34694128785 180975708661 218870562416 97250810605 114586115166 24846112541 64565181841 125706138427 91643555516 73078310445 109339605796 117687618529 131699541732 8692016529 131699546538 62862679197 2229305...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
57488656585
119672114103
159363389223
80550700997
193898735338
201967251391
209771544023
186206211435
61144668391
178885696551
195291238682
205565526206
108392081703
148442568746
201967251391
122724619987
186206206389
39694619414
108392081703
61144668391
396946227...

result:

ok 

Test #18:

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

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
1 1000 1 2 1000
655 476 606 503 746 669 142 668 383 118 398 946 53 282 396 67 739 265 86 976 405 472 467 350 740 326 426 516 763 329 894 645 782 34 390 44 614 387 539 527 88 437 978 873 155 46 190 725 613 957 111 342 605 483 295 333 766 981 177 716 371 424 572 338 70...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
759
863
796
178
489
864
882
160
829
938
525
707
820
894
910
783
458
24
945
913
265
774
764
775
890
885
844
807
803
872
869
992
784
922
792
867
888
764
682
844
962
209
363
325
726
197
793
914
821
984
772
302
689
219
840
844
774
898
776
526
945
835
976
756
812
923
9...

result:

ok 

Test #19:

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

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
100 1000 99 2 1000
64001 97600 61200 79400 29101 55800 93800 44301 22300 74300 22201 41601 76700 29901 20101 12000 71600 27101 82100 97101 27300 41000 95901 81701 78200 55100 69800 63901 20901 72301 19700 4600 39201 1401 83900 96601 82201 59401 86101 47101 36000 5260...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
99300
91701
51901
31500
15200
102101
97700
98400
35101
66300
65200
36101
63200
97600
94900
26301
47900
30800
29700
59701
108501
104601
85901
23401
85701
24401
84801
93900
102900
100201
86100
99000
52900
91701
56601
66101
92100
19001
92800
85500
95200
92501
104300
...

result:

ok 

Test #20:

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

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
100023 1000 99969 2 1000
71100012 35700009 8700018 61050026 83400030 54450025 54750038 120450017 64800013 10500023 76800032 16050036 78600027 63600045 66150037 145800039 60150037 121800000 106050014 87750006 99900036 17250014 133500018 147300004 1200020 89250004 1995...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
10146301067
10132551175
10106701119
10124101130
10152451038
10013351130
10151051088
10109651134
10135451092
10065251142
10146301067
10030801116
10140450968
10147551038
10118151062
10133651147
10017001154
10124101130
10072951004
10131001083
10151400931
10048301151
...

result:

ok 

Test #21:

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

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
10000 1000 100 2 1000
518750000 156250000 616250000 28750000 330000000 76250000 546250000 478750000 177500000 190000000 426250000 356250000 471250000 58750000 387500000 408750000 558750000 428750000 597500000 112500000 555000000 215000000 617500000 168750000 46000000...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
287250000
546163278
472230595
332250000
589965320
564195418
90709123
469750000
593482524
15456025
469750000
364750000
147250000
602250000
256721924
190332096
206670991
139750000
626233926
218500000
373941180
478939882
99939212
387250000
155407640
467136517
8165238...

result:

ok 

Test #22:

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

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
10000 1000 100 2 1000
15750000 13500000 181500000 367500000 188250000 183000000 294750000 45750000 233250000 1500000 48750000 186750000 308250000 362250000 324000000 249000000 50250000 193500000 207000000 215250000 68250000 111000000 189750000 60000000 204750000 3112...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
4537693
25000000
150676482
172359551
298208750
295442591
370000000
326661512
121535016
58028889
275245071
240466612
286282573
49750000
264250000
271637019
304490046
245500000
34750000
292750000
93250000
325687081
341500000
166750000
374500000
115816035
189986704
1...

result:

ok 

Test #23:

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

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
500000 100 10000 2 100
16997989753 22378679076 22455180036 21827670855 22450246771 29885191088 199 29885189691 4002502386 30773676142 7463505926 23130680797 30617693792 17085668681 22363171334 22377675195 12210508866 16991511620 12127457814 17211006625 3121501383 305...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
17210507896
17210507896
33946682372
35163191163
27379170855
27379171334
39375196452
27379171334
9046501383
17210507837
35823194285
35823194285
27457179645
9046501317
35823193927
12492004312
27379170848
27457179076
26266669449
27457179076
17210507896
9046501485
351...

result:

ok 

Test #24:

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

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
500000 100 10000 2 100
23563110896 19551607847 15326098079 5792588892 16565101743 17307606838 1301500802 12063597866 4397002030 5691005559 6597589725 19674609121 12062594807 12058594487 23710612088 16571604124 28077618265 4876503793 5792548773 30488623266 28077619241...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
33077612560
21572601743
10802503793
33077618195
33077614213
39485126271
33077612560
37565623512
13521088892
33077614213
10284502030
17064094487
33077613967
25017606327
33077614923
39485126271
35517622912
9750000802
17064094487
37565624969
10802503793
17064091963
3...

result:

ok 

Test #25:

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

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
500000 100 10000 2 100
6908543005 2238503286 13208053985 15680057439 24239066648 12970379595 17323563662 17323063417 6909043248 2243042488 6918047069 13205053732 26565068716 31814348865 6918048027 2210002506 29963344170 22615565814 17323063417 13211556372 31855352038...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
31805568018
14836548027
11918542952
11918542488
22323561103
14836548027
11918542488
18212052351
36855846284
18212052351
22323563474
22323558682
31805568018
22323557326
22323557326
7250000019
36631345373
22323563417
35019343547
27616565238
7250001633
35019343547
22...

result:

ok 

Subtask #3:

score: 0
Wrong Answer

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Test #26:

score: 20
Accepted
time: 12ms
memory: 9344kb

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
47593 100 1 100 100
8236542 6929361 7732097 8203079 8592710 6467654 6576733 7542009 9527268 915443 6628467 7044554 6241526 1605461 1048168 1314047 327444 5313103 612660 9939386 9783364 8081165 5522602 3237428 7956261 8359505 6011187 153795 8329688 9695494 782518 8879...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
5091852
2427884
1423794
5275831
10125791
7334207
7967690
6337460
607236
6468819
1902134
6613162
1702804
5246675
8173614
3931309
3380304
2357970
4736704
2185679
8105449
6515658
6251324
5674678
4077727
252824
7120802
1694746
6733796
5050420
557776
3502646
7163786
72...

result:

ok 

Test #27:

score: 0
Accepted
time: 13ms
memory: 10168kb

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
453508 100 2 100 100
9554618 639918 6933450 6111089 540617 8738841 4677307 3564398 4989161 2801635 12702649 16266200 16064339 17547808 12046098 12082094 18499536 18867587 11991165 20177625 24939793 30636506 25006399 30189271 25378862 26198075 22386863 29756929 288040...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
966661
6870606
1162876
6660286
10438883
1130870
4377250
1276061
12208230
8210709
19107077
16435879
17816869
13490007
21522007
18720992
14613225
15953928
17876093
19157324
28383317
25550081
28494316
33347574
31297353
28313139
29966020
24698327
32632906
31918007
390...

result:

ok 

Test #28:

score: 0
Accepted
time: 10ms
memory: 9876kb

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
248156 100 1 100 100
9182715 3794036 4593405 8183311 6338387 315447 8642672 9378436 1365328 9966077 20952137 12991342 20504980 15387258 15137073 12863661 17057956 12515703 12500899 17680388 31518648 25668496 22965600 22431338 31880278 30381679 25439223 27491204 28526...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
1032643
7948258
1631364
6704020
4929533
379155
10143144
5628216
6596728
5726523
11822307
13396089
11286635
12938920
18982200
12141973
22151839
20246283
11915041
20235542
22528397
31017387
23740221
29263724
23161218
30955458
28695196
27952076
24751655
26933862
4218...

result:

ok 

Test #29:

score: 0
Accepted
time: 9ms
memory: 10208kb

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
484301 100 3 100 100
6639190 3604855 2527749 1267642 9176438 1673413 6952781 9895691 2426362 434213 18257288 17988364 17020015 22622854 16855149 15459034 17253112 14000322 19130152 21166552 27120912 32757170 34389995 26715547 27812116 28817765 32012310 34872231 26131...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
3306050
2559722
13579819
11434431
3394976
8211091
2178800
3462782
9491995
10752025
24225973
25044243
14935804
16771281
20220478
16701669
21514803
26903615
16590657
18532653
32947327
30191770
34006389
40451619
31491143
36839134
35328709
40116746
28900766
32117738
4...

result:

ok 

Test #30:

score: 0
Accepted
time: 6ms
memory: 9948kb

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
472029 100 1 100 100
3099416 6053545 503906 9634810 4729443 6705661 9834974 7212800 5118880 7465653 17285702 14209342 19290663 20214413 19202621 17580555 14152753 16786172 14864594 11825865 23607555 22654182 30693695 27651417 25990807 28993935 24166129 26551364 28678...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
10173090
2042405
8405953
982208
6190675
6947851
8439703
11269953
9299832
5908620
16039078
14890227
21200656
19980728
19787405
17138789
20176169
14930504
15424470
14353064
30668056
24531024
24028227
33400289
24886047
26079555
33395622
23404653
33053840
27027706
376...

result:

ok 

Test #31:

score: 0
Accepted
time: 13ms
memory: 9944kb

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
484301 100 3 100 100
6639190 3604855 2527749 1267642 9176438 1673413 6952781 9895691 2426362 434213 18257288 17988364 17020015 22622854 16855149 15459034 17253112 14000322 19130152 21166552 27120912 32757170 34389995 26715547 27812116 28817765 32012310 34872231 26131...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
3306050
2559722
13579819
11434431
3394976
8211091
2178800
3462782
9491995
10752025
24225973
25044243
14935804
16771281
20220478
16701669
21514803
26903615
16590657
18532653
32947327
30191770
34006389
40451619
31491143
36839134
35328709
40116746
28900766
32117738
4...

result:

ok 

Test #32:

score: -20
Wrong Answer
time: 10ms
memory: 9992kb

input:

XwWPuInrOjpekAwGKojzwKw3yVDtdkGS
50884 100 2 100 100
306774 363330 178941 833338 949358 197445 630650 370609 797584 208264 4206030 4035269 4507758 4487377 4509864 3878828 4403929 4142666 4342281 4427731 8072541 8373247 7533523 7656633 7693460 8349100 7907319 7892285 8027749 7682020 11724627 11407168...

output:

mGlgT4yvr1qPbquFwkxRVh9hMn0Mrxoz
OK
1289288
1050665
2456509
359277
2178004
194304
2927480
2968808
1348655
1519943
5909271
6415596
4320496
4141896
7506217
4191696
5305992
6776834
4611326
6227106
10921313
8000841
10420701
10921313
10111991
9525384
10808098
7796591
7764741
8325391
11953083
13661432
126...

result:

wrong answer 28th lines differ - on the 1st token, expected: '9526045', found: '9525384'

Subtask #4:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Dependency #3:

0%

Subtask #5:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Dependency #3:

0%