QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#597512#9346. Binary NumbersGuanYunchangWA 3ms18300kbC++201.7kb2024-09-28 17:58:102024-09-28 17:58:17

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 3ms
memory: 16076kb

input:

1
2 2
0 1
2 3

output:

5

result:

ok single line: '5'

Test #2:

score: 0
Accepted
time: 3ms
memory: 18300kb

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
80424846
87716714
4008233
5040
28188720
87385831
28330657
91763968
65697486
23193906
2268
73598267
1
16867205
48893476
83201790
28
54705494

result:

ok 20 lines

Test #3:

score: -100
Wrong Answer
time: 0ms
memory: 16120kb

input:

20
11 43
0 95
96 111
112 127
128 255
256 351
352 383
384 447
448 511
512 543
544 575
576 639
640 735
736 767
768 895
896 899
900 959
960 975
976 991
992 1023
1024 1151
1152 1215
1216 1239
1240 1247
1248 1279
1280 1407
1408 1439
1440 1463
1464 1535
1536 1663
1664 1791
1792 1823
1824 1839
1840 1855
18...

output:

37829851
36324246
72625155
28
55368141
59034819
42951126
28287868
5
44545690
63452630
37853636
34640508
35600827
21626271
42840
6
85778998
95927916
22264207

result:

wrong answer 1st lines differ - expected: '84091164', found: '37829851'