QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#201845#7334. EndgameHuangHanShengWA 870ms81692kbC++174.6kb2023-10-05 17:01:402023-10-05 17:01:40

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 176ms
memory: 80740kb

input:

2
........
........
........
........
........
.......W
R.......
.......B

....B...
........
..W.....
........
.....R..
........
........
........


output:

1
2

result:

ok 2 number(s): "1 2"

Test #2:

score: -100
Wrong Answer
time: 870ms
memory: 81692kb

input:

10
........
........
........
..R.....
....W...
........
.B......
........

.......B
........
...R....
........
........
........
W.......
........

........
.W...B..
........
........
..R.....
........
........
........

.W...R..
........
........
........
......B.
........
........
........

........

output:

3
2
3
2
2
3
3
4
2
2

result:

wrong answer 1st numbers differ - expected: '7', found: '3'