QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#215196#2924. Lone RookHuangHanShengWA 1ms3544kbC++203.8kb2023-10-15 05:02:262023-10-15 05:02:27

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3436kb

input:

2 2
KR
TK

output:

yes

result:

ok single line: 'yes'

Test #2:

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

input:

2 3
R.K
KKT

output:

yes

result:

ok single line: 'yes'

Test #3:

score: 0
Accepted
time: 1ms
memory: 3480kb

input:

5 3
KKT
.K.
K..
...
KKR

output:

yes

result:

ok single line: 'yes'

Test #4:

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

input:

2 4
R.KK
KK.T

output:

no

result:

ok single line: 'no'

Test #5:

score: 0
Accepted
time: 1ms
memory: 3408kb

input:

2 5
RKKK.
...KT

output:

no

result:

ok single line: 'no'

Test #6:

score: 0
Accepted
time: 1ms
memory: 3444kb

input:

5 6
.....T
..K...
..KK..
...K..
R.....

output:

no

result:

ok single line: 'no'

Test #7:

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

input:

3 4
...K
T.KR
..K.

output:

no

result:

ok single line: 'no'

Test #8:

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

input:

6 3
.R.
...
...
KKK
.K.
.T.

output:

yes

result:

ok single line: 'yes'

Test #9:

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

input:

6 6
..K..T
..K...
......
..KK.K
...K..
R.....

output:

yes

result:

wrong answer 1st lines differ - expected: 'no', found: 'yes'