QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#322937#8174. Set ConstructionwaifuSenpai#WA 1ms3688kbC++201.9kb2024-02-08 00:48:162024-02-08 00:48:17

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
3 5
4 8
60 2

output:

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

result:

ok AC

Test #2:

score: -100
Wrong Answer
time: 1ms
memory: 3688kb

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 15 63
0 15 55 63
0 19 31 51 63
0 15 23 31 55 63
0 17 19 31 49 51 63
0 7 11 15 51 55 59 63
0 17 19 23 31 49 51 55 63
0 7 11 15 19 23 27 31 59 63
0 17 19 21 23 31 49 51 53 55 63
0 3 13 15 21 23 29 31 53 55 61 63
0 3 7 9 11 15 17 19 23 25 27 31 63
0 3 17 19 21 23 29 31 49 51 53 55 61 63
0 3 7 9 ...

result:

wrong answer (15 AND 55) is not in A