QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#504025#2043. Make a Sequencexiaowuc1100 ✓57ms3568kbC++172.9kb2024-08-04 04:05:372024-08-04 04:05:45

Details

Tip: Click on the bar to expand more detailed information

Pretests


Final Tests

Test #1:

score: 100
Accepted
time: 57ms
memory: 3568kb

input:

3 3 3
1 1
1 1
1 1
3 3 14
1 1
2 2
3 2
3 1
1 3
1 2
1 3
1 3
2 3
3 3
1 2
1 1
3 1
3 1
3 3 5
1 1
1 3
2 1
2 3
3 1
3 3 5
1 1
3 1
1 2
3 2
1 3
3 3 5
1 1
2 2
1 1
2 2
1 1
3 3 5
1 1
3 1
2 2
3 2
3 3
3 3 5
3 1
1 1
2 2
1 2
1 3
3 3 7
1 1
2 1
2 1
3 1
1 1
3 1
3 1
3 3 7
3 1
2 1
2 1
1 1
3 1
1 1
1 1
3 3 7
1 1
1 2
1 2
1 3...

output:

Draw
Draw
Black 5
Black 5
Black 5
Black 5
Black 5
Black 7
Black 7
Black 7
Black 7
Black 7
Black 7
Black 7
Black 7
Black 7
Black 7
Black 7
Black 7
Black 11
Black 11
Black 11
Black 11
Black 11
Black 11
Black 11
Black 11
Black 11
Black 11
Black 13
Black 13
White 8
Black 11
Black 7
White 22
White 10
Bla...

result:

ok 166 lines