QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#783360#9346. Binary Numbersrotcar08WA 15ms16668kbC++171.5kb2024-11-26 09:11:482024-11-26 09:11:50

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 12080kb

input:

1
2 2
0 1
2 3

output:

5

result:

ok single line: '5'

Test #2:

score: -100
Wrong Answer
time: 15ms
memory: 16668kb

input:

20
4 6
0 1
2 3
4 6
7 7
8 11
12 15
9 39
0 31
32 47
48 51
52 63
64 87
88 92
93 95
96 127
128 143
144 159
160 167
168 175
176 191
192 207
208 255
256 263
264 271
272 283
284 287
288 289
290 295
296 303
304 319
320 351
352 357
358 367
368 375
376 383
384 391
392 399
400 403
404 407
408 415
416 443
444 4...

output:

799362
57622823
15659024
28304348
17184332
16359
37163088
99136839
23175251
21086016
25462737
54939597
2940
31951309
1
51702055
71838947
43732869
28
65318739

result:

wrong answer 1st lines differ - expected: '430920', found: '799362'