QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#369815#8174. Set ConstructionMaMengQiWA 4ms11960kbC++17752b2024-03-28 18:16:302024-03-28 18:16:31

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
3 5
4 8
60 2

output:

0 1 3 5 7 
0 1 2 3 12 13 14 15 
0 1152921504606846975 

result:

ok AC

Test #2:

score: -100
Wrong Answer
time: 4ms
memory: 11960kb

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 15 48 63 
0 15 31 47 63 
0 15 16 31 48 63 
0 7 15 23 31 55 63 
0 7 8 15 48 55 56 63 
0 7 15 23 31 39 47 55 63 
0 7 8 15 24 31 40 47 56 63 
0 3 7 11 15 27 31 43 47 59 63 
0 3 12 15 16 19 28 31 48 51 60 63 
0 3 7 11 15 19 23 27 31 51 55 59 63 
0 3 4 7 12 15 20 23 28 31 52 55 60 63 
0 3...

result:

wrong answer Outputs are not distinct