QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#597232#9346. Binary NumbersGuanYunchangWA 9ms18144kbC++201.7kb2024-09-28 17:19:552024-09-28 17:19:58

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1
2 2
0 1
2 3

output:

5

result:

ok single line: '5'

Test #2:

score: -100
Wrong Answer
time: 9ms
memory: 18144kb

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:

430920
27651757
38399484
87716714
58607904
5040
28188720
87385831
28330657
38264509
89450742
2913747
2268
73598267
1
16867205
80254478
23666510
28
22137001

result:

wrong answer 3rd lines differ - expected: '80424846', found: '38399484'