QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#315552#8174. Set Constructionucup-team1075#WA 0ms3612kbC++142.2kb2024-01-27 14:13:312024-01-27 14:13:31

详细

Test #1:

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

input:

3
3 5
4 8
60 2

output:

0 7 1 3 2 
0 15 1 3 7 2 6 14 
0 1152921504606846975 

result:

ok AC

Test #2:

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

input:

30
6 2
6 3
6 4
6 5
6 6
6 7
6 8
6 9
6 10
6 11
6 12
6 13
6 14
6 15
6 16
6 17
6 18
6 19
6 20
6 21
7 2
7 3
7 4
7 5
7 6
7 7
7 8
7 9
7 10
7 11

output:

0 63 
0 63 1 
0 63 1 3 
0 63 1 3 7 
0 63 1 3 7 15 
0 63 1 3 7 15 31 
0 63 1 3 7 15 31 2 
0 63 1 3 7 15 31 2 6 
0 63 1 3 7 15 31 2 6 14 
0 63 1 3 7 15 31 2 6 14 30 
0 63 1 3 7 15 31 2 6 14 30 62 
0 63 1 3 7 15 31 2 6 14 30 62 4 
0 63 1 3 7 15 31 2 6 14 30 62 4 12 
0 63 1 3 7 15 31 2 6 14 30 62 4 12 2...

result:

wrong answer (1 OR 4) is not in A