QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#369719#8174. Set ConstructionZhaoZiLongWA 1ms4080kbC++171.4kb2024-03-28 16:58:552024-03-28 16:58:57

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
3 5
4 8
60 2

output:

2 0 7 3 1 
4 0 15 14 10 6 2 11 
0 1152921504606846975

result:

ok AC

Test #2:

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

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
8 0 55 
8 0 63 28 20 55 
8 0 63 28 20 
8 0 63 28 20 55 
8 0 63 28 20 12 4 
8 0 63 28 20 12 4 55 
8 0 63 28 20 12 4 24 16 
8 0 63 28 20 12 4 24 16 55 
8 0 63 28 20 12 4 24 16 62 54 
8 0 63 28 20 12 4 24 16 62 54 55 
8 0 63 28 20 12 4 24 16 62 54 14 6 
8 0 63 28 20 12 4 24 16 62 54 14 6 55 
8 0 6...

result:

wrong answer 63 is not in A