QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#315522#8174. Set Constructionucup-team1608#WA 0ms3880kbC++17815b2024-01-27 13:58:102024-01-27 13:58:10

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
3 5
4 8
60 2

output:

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

result:

ok AC

Test #2:

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

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 1 63 
0 1 3 63 
0 1 3 7 63 
0 1 3 7 15 63 
0 1 3 7 15 31 63 
0 1 2 3 7 15 31 63 
0 1 2 3 6 7 15 31 63 
0 1 2 3 6 7 14 15 31 63 
0 1 2 3 6 7 14 15 30 31 63 
0 1 2 3 6 7 14 15 30 31 62 63 
0 1 2 3 4 6 7 14 15 30 31 62 63 
0 1 2 3 4 6 7 12 14 15 30 31 62 63 
0 1 2 3 4 6 7 12 14 15 28 30 31 62 6...

result:

wrong answer (1 OR 4) is not in A