QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#316813#8174. Set Constructionucup-team123#WA 4ms3636kbC++142.6kb2024-01-28 04:13:232024-01-28 04:13:24

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: -100
Wrong Answer
time: 4ms
memory: 3636kb

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 127 
0 31 63 127 255 383 511 
0 15 31 63 127 255 383 511 1023 1535 2047 
0 14 15 31 63 127 255 383 511 1023 1535 2047 4095 6143 8191 
0 12 14 15 31 63 127 255 383 511 1023 1535 2047 4095 6143 8191 16383 24575 32767 
0 15 31 63 127 191 255 511 767 1023 2047 3071 4095 8191 12287 16383 32...

result:

wrong answer Integer element [index=1] equals to 127, violates the range [0, 63]