QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#119274#6669. MapaCJzhouhuanyi#0 2ms3872kbC++111.2kb2023-07-05 09:38:212024-05-31 19:04:53

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 53.3333
Acceptable Answer
time: 2ms = 1ms + 1ms
memory: 3792kb,3792kb

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:

4400
0001100110010101101101101001110011110001001111111101100101100110001010111010010111001111011111110100100101100011000111100011111011111011100100110000001011001100111010010101100000010000011000101000111110111010110101011001100010110100100101101111001000101000000011010111010011000001001100010110110...

input:

2
100 79 4400
0001100110010101101101101001110011110001001111111101100101100110001010111010010111001111011111110100100101100011000111100011111011111011100100110000001011001100111010010101100000010000011000101000111110111010110101011001100010110100100101101111001000101000000011010111010011000001001100...

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 
441140...

result:

points 0.53333333330 ok K = 4400

Test #2:

score: 53.3333
Acceptable Answer
time: 2ms = 1ms + 1ms
memory: 3800kb,3872kb

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:

4400
0001111001100111010111000100111110100100101110011100111110000010001001100000000100000101010010011101110011001000000000011110010111110110010011000101010101111011000111000010111110010010010010000101100000011000100110001001100001010110001000000110110010001000111010010110111001010010100001110010111...

input:

2
100 79 4400
0001111001100111010111000100111110100100101110011100111110000010001001100000000100000101010010011101110011001000000000011110010111110110010011000101010101111011000111000010111110010010010010000101100000011000100110001001100001010110001000000110110010001000111010010110111001010010100001...

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 
185155...

result:

points 0.53333333330 ok K = 4400

Test #3:

score: 53.3333
Acceptable Answer
time: 1ms = 0ms + 1ms
memory: 3748kb,3748kb

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:

4400
1110100011010110101000000101000001011110000011010010001101001101011111100010110011100011101101111100011011011000010111100001010100110110011011110001101010011100100110101111100010011010010110110000001000111000011111000010101000001010000010110110001010000111001101110010010010011111001101110010000...

input:

2
100 79 4400
1110100011010110101000000101000001011110000011010010001101001101011111100010110011100011101101111100011011011000010111100001010100110110011011110001101010011100100110101111100010011010010110110000001000111000011111000010101000001010000010110110001010000111001101110010010010011111001101...

output:

676203467 
418593456 
222540092 
566496677 
487711174 
155177230 
635260765 
19655934 
405420089 
197948311 
16997620 
612197605 
623431791 
654167214 
29107026 
103769907 
951695033 
512153851 
401411177 
839097490 
141196222 
886472586 
767476542 
270436089 
885084406 
492744649 
861074271 
873731...

result:

points 0.53333333330 ok K = 4400

Test #4:

score: 0
Wrong Answer
time: 1ms = 1ms + 0ms
memory: 3868kb,3808kb

input:

1
100
546594289 9670068
665528790 773039281
266567267 744830423
338924380 918542055
413001686 717894752
786408307 211692098
280986141 432842000
195582858 921321743
412109607 485887870
262421557 244551274
303481411 585109375
922835159 77375674
276669713 485047938
748493209 63888398
37129726 285918022...

output:

4400
0010110110110001110010010000001000110100100101110010000111011110101110101100101001100011011110011101101011111111010110110000011000101100010100110101010100001001010100011110010011000000100010100101001100111001101111000010000010010101110110110111111011110000011011110011100101011001110001110010010...

input:

2
100 79 4400
0010110110110001110010010000001000110100100101110010000111011110101110101100101001100011011110011101101011111111010110110000011000101100010100110101010100001001010100011110010011000000100010100101001100111001101111000010000010010101110110110111111011110000011011110011100101011001110001...

output:

43372101 
204611063 
352593757 
432842000 690314419 
142147490 
891337416 
585109375 
743309504 
647533065 
464964608 
876089821 
211692098 
955710889 
971589766 
63888398 
781195091 
748872098 
918542055 
738134414 
271774069 
559783342 
631668225 
32245370 
502187994 
978371138 
563783889 
9006351...

result:

wrong answer wrong answer on query #5: read 690314419 but expected 142147490