QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#119641#6669. Mapaznstz#0 2ms3608kbC++142.6kb2023-07-05 12:56:572024-07-04 00:18:24

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Runtime Error

Test #1:

score: 62.8333
Acceptable Answer
time: 2ms = 1ms + 1ms
memory: 3492kb,3608kb

input:

1
100
495528311 963488152
269613430 443544124
700489871 792354118
151890319 506569919
180452297 13229948
684464994 543841485
978085128 903812192
238355172 441140842
28061035 783291471
530823766 718942732
936853023 439421263
201361623 226633955
304644844 778868118
864860135 461524170
88300500 6959354...

output:

4115
1100101111011110011100011000011001100101011011011010011110010101011001111000100111111110110010110000100111000110001010111010010111001111010000000001111111101001001011000110001111000101111010001111101111101110010011000000110011101001011001100111010010101100000011111000111000000110001010001111101...

input:

2
100 79 4115
1100101111011110011100011000011001100101011011011010011110010101011001111000100111111110110010110000100111000110001010111010010111001111010000000001111111101001001011000110001111000101111010001111101111101110010011000000110011101001011001100111010010101100000011111000111000000110001010...

output:

310305144
821194635
174780370
903812192
805026231
996046536
439421263
645287342
90686849
20101025
440972097
543841485
176553522
249563964
461524170
348624865
848301562
506569919
306718453
206848250
382805509
278712030
964702808
868944393
493895143
39665197
574757075
441140842
785665865
229376884
551...

result:

points 0.62833333330 ok K = 4115

Test #2:

score: 66.1667
Acceptable Answer
time: 2ms = 1ms + 1ms
memory: 3492kb,3608kb

input:

1
100
743248071 842720888
367650901 130970775
297946283 705168964
771526942 537186020
245003150 707948455
643491261 668001146
311535032 293708068
183828318 18515526
593973840 915870006
102456762 64193833
729806890 839221652
47145974 35682954
668676377 228428310
370700393 569441954
250911162 48980047...

output:

4015
0100101011111110011001100000111100110011101011100010011110000110011101001001011100111001111100011010101100010001001100000000100000101010100100001001001110111001100100000000001111111110111100101111101100100110001010101000100010101111011000111000010111110011011111100001001001000010110000001100010...

input:

2
100 79 4015
0100101011111110011001100000111100110011101011100010011110000110011101001001011100111001111100011010101100010001001100000000100000101010100100001001001110111001100100000000001111111110111100101111101100100110001010101000100010101111011000111000010111110011011111100001001001000010110000...

output:

442563406
97578442
469403815
293708068
138158276
720700065
839221652
674386240
810209830
563527225
259979005
668001146
813899310
943777483
569441954
226088806
825435650
537186020
131383422
83733737
830289758
425793016
858146541
609883097
414389335
407054915
47572024
18515526
276587480
810627636
4972...

result:

points 0.66166666670 ok K = 4015

Test #3:

score: 0
Runtime Error

input:

1
100
770174568 168127255
893508708 185778664
976425263 477317099
287595878 512153851
621600374 418802856
818787535 612197605
796811122 566496677
789841517 873731343
43178468 619503942
597852289 471053284
66112404 635260765
158101403 199253397
680158192 123081916
626776438 29107026
721141470 5177084...

output:


result: