QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#732170#9469. Chinese CheckersZhangYiDeWA 40ms3840kbC++179.9kb2024-11-10 13:33:072024-11-10 13:33:16

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

12
1 1 LL
16 1 UL
10 1 R
5 11 L
11 10 L
7 1 LR
2 2 LR
13 5 UL
12 2 R
5 12 L
11 11 L
6 1 LR

output:

2 1 3 1 3 2 3 3 4 1 4 2 4 3 4 4 5 5 6 9 
12 4 14 1 14 2 14 3 14 4 15 1 15 2 15 3 16 2 17 1 
10 2 11 1 11 2 12 1 12 3 12 5 13 1 13 2 13 3 13 4 
5 7 5 9 5 10 5 13 6 10 6 11 6 12 7 10 7 11 8 10 
10 10 11 7 11 9 12 10 12 11 12 12 13 10 13 11 13 12 13 13 
5 1 5 2 5 3 5 4 6 2 6 3 7 1 7 2 8 1 11 3 

result:

ok 6 lines

Test #2:

score: -100
Wrong Answer
time: 40ms
memory: 3840kb

input:

39
4 1 LR
14 1 UR
13 4 R
6 12 L
13 10 UL
6 2 R
3 1 LL
16 1 UR
13 1 R
6 9 UL
12 12 L
6 4 L
2 1 LL
13 6 R
13 8 UR
6 11 R
10 10 LL
5 2 R
9 1 R
16 2 LL
10 1 UL
5 13 LL
13 13 UL
5 5 R
3 2 UL
17 1 UR
11 8 UL
8 10 LL
13 12 L
6 2 LR
4 2 LL
15 1 LR
11 1 UR
7 11 UL
13 10 UR
8 1 LR
4 4 LR
13 9 UL
13 3 R
39
4 1...

output:

1 1 2 1 2 2 3 1 3 3 4 3 5 6 8 9 9 2 10 2 
11 7 12 8 13 7 14 2 14 3 14 4 15 2 15 3 16 1 16 2 
9 1 10 1 10 7 11 2 12 1 12 2 12 3 13 2 13 4 13 5 
5 9 5 10 5 11 5 12 6 10 6 12 7 10 7 11 9 9 10 9 
7 9 10 10 11 10 11 11 12 7 12 9 12 10 12 11 13 6 13 11 
5 1 5 3 5 4 5 7 6 1 6 3 7 1 7 2 10 3 11 3 
2 1 2 2 3...

result:

wrong answer 4th lines differ - expected: '5 9 5 10 5 11 5 12 6 10 6 11 6 12 7 10 9 9 10 9', found: '5 9 5 10 5 11 5 12 6 10 6 12 7 10 7 11 9 9 10 9 '