QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#316871#8174. Set Constructionucup-team123#WA 4ms3804kbC++145.6kb2024-01-28 05:15:032024-01-28 05:15:03

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 4ms
memory: 3516kb

input:

3
3 5
4 8
60 2

output:

0 4 5 6 7 
0 4 8 10 12 13 14 15 
0 1152921504606846975 

result:

ok AC

Test #2:

score: 0
Accepted
time: 4ms
memory: 3800kb

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 31 63 
0 32 31 63 
0 15 31 47 63 
0 32 1 33 31 63 
0 12 14 15 31 47 63 
0 32 1 33 3 35 31 63 
0 7 15 23 31 39 47 55 63 
0 32 1 33 2 34 3 35 31 63 
0 4 6 7 15 23 31 39 47 55 63 
0 32 1 33 2 34 3 35 7 39 31 63 
0 2 4 5 6 7 15 23 31 39 47 55 63 
0 32 1 33 2 34 3 35 5 37 7 39 31 63 
0 1 2 3 4 5 ...

result:

ok AC

Test #3:

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

input:

30
7 12
7 13
7 14
7 15
7 16
7 17
7 18
7 19
7 20
7 21
7 22
7 23
7 24
7 25
7 26
7 27
7 28
8 2
8 3
8 4
8 5
8 6
8 7
8 8
8 9
8 10
8 11
8 12
8 13
8 14

output:

0 32 64 96 1 33 65 97 31 63 95 127 
0 8 12 13 14 15 31 47 63 79 95 111 127 
0 96 1 97 2 98 3 99 5 101 7 103 31 127 
0 64 96 1 65 97 2 66 98 3 67 99 31 95 127 
0 32 64 96 1 33 65 97 3 35 67 99 31 63 95 127 
0 7 15 23 31 39 47 55 63 71 79 87 95 103 111 119 127 
0 64 96 1 65 97 2 66 98 3 67 99 7 71 103...

result:

wrong answer (63 AND 95) is not in A