QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#318265#5112. Where Am I?GuanYunchangWA 18ms18800kbC++172.1kb2024-01-30 21:17:402024-01-30 21:17:40

詳細信息

Test #1:

score: 100
Accepted
time: 2ms
memory: 12108kb

input:

1 1
X

output:

0.000000000
0
(1,1) 

result:

ok correct!

Test #2:

score: 0
Accepted
time: 2ms
memory: 12612kb

input:

2 1
.X

output:

0.000000000
0
(1,1) (2,1) 

result:

ok correct!

Test #3:

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

input:

2 1
X.

output:

0.000000000
0
(1,1) (2,1) 

result:

ok correct!

Test #4:

score: 0
Accepted
time: 2ms
memory: 13648kb

input:

1 2
.
X

output:

0.000000000
0
(1,1) (1,2) 

result:

ok correct!

Test #5:

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

input:

1 2
X
.

output:

0.000000000
0
(1,1) (1,2) 

result:

ok correct!

Test #6:

score: 0
Accepted
time: 3ms
memory: 13468kb

input:

2 1
XX

output:

3.000000000
3
(1,1) (2,1) 

result:

ok correct!

Test #7:

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

input:

3 3
XXX
X.X
XXX

output:

3.111111111
5
(3,1) (3,2) 

result:

ok correct!

Test #8:

score: 0
Accepted
time: 14ms
memory: 18172kb

input:

100 100
..X....X....X....X....X....X....X....X....X....X....X....X....X....X....X....X....X....X....X....X..
....................................................................................................
X............................................................................................

output:

4757.947100000
9704
(50,1) (50,100) 

result:

ok correct!

Test #9:

score: 0
Accepted
time: 4ms
memory: 13484kb

input:

100 100
X...................................................................................................
....................................................................................................
.............................................................................................

output:

19735.319900000
39599
(100,1) (100,2) 

result:

ok correct!

Test #10:

score: 0
Accepted
time: 4ms
memory: 12564kb

input:

100 100
....................................................................................................
....................................................................................................
.............................................................................................

output:

19865.669900000
39500
(100,1) (100,2) 

result:

ok correct!

Test #11:

score: -100
Wrong Answer
time: 18ms
memory: 18800kb

input:

100 100
X...................................................................................................
.X..................................................................................................
..X..........................................................................................

output:

11855.639200000
39302
(99,100) (100,99) 

result:

wrong answer Read (99,100) but expected (100,99)