QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#155192#6704. Happy EquationZhangYiDeWA 2ms3512kbC++141.3kb2023-09-01 13:37:572023-09-01 13:37:57

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3512kb

input:

2
6 12
8 16

output:

1023
16383

result:

ok 2 number(s): "1023 16383"

Test #2:

score: -100
Wrong Answer
time: 2ms
memory: 3304kb

input:

1000
959668315 17
173599849 18
452866086 16
984874375 15
346061855 21
440851881 22
224960642 16
176079916 16
656766412 21
283466925 25
20353211 27
691728649 20
772055116 17
459468637 21
206618043 15
987058694 25
621275781 22
787193761 15
812760680 25
993799948 25
126264161 18
897813346 16
762713004 ...

output:

1
1
32761
1
1
1
32761
32765
1048571
1
1
1
65532
1
1
16777204
1
1
16777213
16777210
1
32761
16777210
1
1
33554420
32761
1
16777204
1
2097142
8388603
262142
1
1
16777204
4194299
134217722
1
1
8388597
1
1
1
32761
1
1
1
268435449
524279
1
1
67108861
1
1
1
4194293
1048571
67108851
1
1
1
131064
1
1
167772...

result:

wrong answer 19th numbers differ - expected: '16777212', found: '16777213'