QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#515809#6669. Mapacarrotqq0 198ms3868kbC++201.3kb2024-08-12 08:25:092024-08-12 08:25:10

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 198ms = 111ms + 87ms
memory: 3868kb,3832kb

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:

3000
1010010101100111111111010011011101101001100101101000010110111110100111001101100010100011101000110110010101001110010101011111101110011110101111101001111101101001100011011001000101111100101111100111001001010011111000110111010101110011111010001110101001100001100100010011111111101001010011010011001...

input:

2
100 79 3000
1010010101100111111111010011011101101001100101101000010110111110100111001101100010100011101000110110010101001110010101011111101110011110101111101001111101101001100011011001000101111100101111100111001001010011111000110111010101110011111010001110101001100001100100010011111111101001010011...

output:

385802615
896692106
250277841
979309663
880523702
73299654
514918734
720784813
166184320
95598496
516469568
619338956
252050993
325061435
537021641
424122336
923799033
582067390
382215924
282345721
458302980
354209501
41955926
944441864
569392614
115162668
650254546
516638313
861163336
304874355
626...

result:

wrong answer wrong answer on query #1: read 385802615 but expected 310305144