QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#880765#9519. Build a Computerucup-team3851WA 0ms3712kbC++232.3kb2025-02-03 19:48:522025-02-03 19:48:52

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

5 7

output:

5
2 3 0 4 1
1 1 1
1 5 1
2 5 1 5 0
0

result:

ok ok

Test #2:

score: 0
Accepted
time: 0ms
memory: 3712kb

input:

10 27

output:

12
2 4 1 5 0
2 1 1 3 1
2 6 0 7 1
1 8 0
2 7 0 7 1
1 9 1
2 11 0 11 1
2 10 1 11 0
2 12 0 12 1
2 12 1 12 0
2 12 0 12 1
0

result:

ok ok

Test #3:

score: 0
Accepted
time: 0ms
memory: 3712kb

input:

5 13

output:

9
2 4 1 5 0
2 1 1 3 1
2 6 0 7 1
1 8 0
2 7 0 7 1
1 9 1
2 9 0 9 1
2 9 1 9 0
0

result:

ok ok

Test #4:

score: -100
Wrong Answer
time: 0ms
memory: 3712kb

input:

1 1000000

output:

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

result:

wrong answer Participant's answer has number does not exist