QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#322112#147. Floppydaoquanglinh20070 26ms6980kbC++201.9kb2024-02-06 11:42:152024-02-06 11:42:17

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 2ms
memory: 3780kb

input:

1 496
484
491
478
483
452
446
458
493
453
457
468
418
440
241
267
365
462
441
495
39
54
70
26
97
152
24
105
85
170
298
42
275
305
295
297
207
211
296
184
346
98
123
171
157
135
194
243
156
115
196
169
53
138
93
263
251
201
195
333
324
396
338
270
311
359
289
290
486
403
183
339
310
473
464
471
469
4...

output:

992
11111100110010010011100011110010100000111111111111111011101110000011000010001100111000001111111011100001001101000111000001010000110110001000111111011100001100001110110001001111000001111000001111101001010000001111000011111100000010001111111101110110000111000011001111110111000101000101100011111100...

input:

1 496
992
11111100110010010011100011110010100000111111111111111011101110000011000010001100111000001111111011100001001101000111000001010000110110001000111111011100001100001110110001001111000001111000001111101001010000001111000011111100000010001111111101110110000111000011001111110111000101000101100011...

output:

116
19
116
306
116
19
306
374
116
306
116
374
116
116
306
366
374
462
306
306
19
116
430
202
306
306
116
40
68
19
116
116
306
306
116
374
116
353
68
306
116
374
116
454
19
68
19
306
374
116
116
430
374
253
116
126
116
202
116
492
116
306
116
19
306
306
288
306
116
306
19
202
116
374
371
306
306
202
...

result:

wrong answer wrong answer on query #1 (a = 109, b = 205): read 116 but expected 115

Subtask #2:

score: 0
Wrong Answer

Test #6:

score: 0
Wrong Answer
time: 4ms
memory: 4732kb

input:

2 9998
941669562
945620824
923950848
951745929
487936934
545172907
544098433
249251812
620978276
575815248
584717207
588068187
353162497
679201670
592738155
438327774
762119945
576801563
408534366
592715009
525377786
603981493
-93758897
137509462
-38676966
-36724784
654920761
-595506762
-645387884
-...

output:

19996
111111111111000011111111110001001110000001001111110100001100100011111111101010100100010011111101010000011111000001001100001111100000010111000100111011110000001110100011111101100000101011000100111111000011010000010011001111011000111110001111111111100100110100011001001000100110010011110010100110...

input:

2 9998
19996
11111111111100001111111111000100111000000100111111010000110010001111111110101010010001001111110101000001111100000100110000111110000001011100010011101111000000111010001111110110000010101100010011111100001101000001001100111101100011111000111111111110010011010001100100100010011001001111001...

output:

6132
6132
360
6132
6132
6132
6132
360
6132
6132
2818
6132
360
6132
6132
5103
6132
1056
6132
7339
2818
6132
5761
5761
6132
6132
360
6132
6132
6665
6132
7885
6132
2818
7339
7339
8313
6132
6132
5103
6132
7339
6132
6132
6132
5761
6132
6132
6396
6132
6132
2818
6132
2119
8688
2472
6132
6132
6132
6132
7339...

result:

wrong answer wrong answer on query #1 (a = 2131, b = 6955): read 6132 but expected 6131

Subtask #3:

score: 0
Wrong Answer

Test #11:

score: 0
Wrong Answer
time: 26ms
memory: 6980kb

input:

3 39995
922975946
766568552
929754744
983095922
988967630
879723897
928174186
951250463
831467029
836738151
464712826
467214506
167661408
156498284
426000721
530835328
-35115993
-86200136
327603078
448684869
192895652
125768327
402822176
196767853
409109378
985776352
976681898
967347754
989156210
99...

output:

79990
111111111111111110111010010011111000110011110010010011100100101101000001001011100000111111111101010100110000110011110111000010110010000011110111011010100010001100111111000000010110101000110011101111111111010010010010010011100010001111101010000011001000110110001110000101110001001000111111001111...

input:

3 39995
79990
1111111111111111101110100100111110001100111100100100111001001011010000010010111000001111111111010101001100001100111101110000101100100000111101110110101000100011001111110000000101101010001100111011111111110100100100100100111000100011111010100000110010001101100011100001011100010010001111...

output:

11216
3598
17920
17920
16795
7410
7410
17920
17920
17920
17920
17920
37334
16795
38001
37334
17920
8606
16795
17920
27077
17920
17920
17920
17241
12583
27077
17920
17920
37334
17920
11216
17920
17920
17920
17920
17920
17920
7410
17920
17920
17920
585
32472
3598
32472
28371
17920
3598
17920
39521
373...

result:

wrong answer wrong answer on query #1 (a = 9100, b = 12589): read 11216 but expected 11215