QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#596342#9346. Binary NumbersMaMengQiWA 7ms6160kbC++201.1kb2024-09-28 15:34:092024-09-28 15:34:15

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1
2 2
0 1
2 3

output:

5

result:

ok single line: '5'

Test #2:

score: -100
Wrong Answer
time: 7ms
memory: 6160kb

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:

1077300
709113570
545605036
496341250
96845584
5040
207862200
779177536
113686967
938527204
612855440
665849862
2268
368747995
1
389433168
706032500
501859398
28
751935235

result:

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