QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#858314#147. Floppynathan46900 40ms9136kbC++203.9kb2025-01-16 16:03:362025-01-16 16:03:38

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: 6004kb

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:

167
14
97
250
167
14
304
14
97
14
14
14
14
97
14
364
14
14
14
250
97
97
14
250
14
14
250
49
54
14
97
14
250
14
14
14
97
352
85
14
97
14
14
14
14
54
14
250
352
97
97
14
14
250
97
119
97
250
14
14
97
250
97
14
250
14
250
14
14
14
14
234
97
14
369
14
14
208
97
97
14
14
14
97
167
240
14
14
14
304
97
234...

result:

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

Subtask #2:

score: 0
Wrong Answer

Test #6:

score: 0
Wrong Answer
time: 10ms
memory: 7440kb

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:

5133
5133
5133
5133
5133
5133
5133
289
5133
5133
2358
6137
3334
5133
5133
5133
5133
1769
5133
7243
2358
5133
5133
5587
5133
5133
289
5133
5133
6694
5133
7796
5133
3334
7796
5133
5133
5133
5133
5133
5133
5133
5133
5133
5133
5133
5133
5133
6273
5133
5133
3334
5133
2071
5133
2358
5133
5133
5133
5133
72...

result:

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

Subtask #3:

score: 0
Wrong Answer

Test #11:

score: 0
Wrong Answer
time: 40ms
memory: 9136kb

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:

12426
2963
32869
14831
14831
14831
6126
14831
14831
22492
22492
14831
32869
14831
32869
32869
31047
9293
14831
22492
32869
32869
14831
14831
17217
12426
32869
32869
14831
32869
14831
13905
14831
22492
19599
32869
14831
32869
6126
14831
14831
15550
470
32869
14831
32869
29098
14831
2963
14831
32869
3...

result:

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