QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#83048#4505. Ricochet Robotsxiaowuc1AC ✓648ms91528kbJava113.6kb2023-03-01 05:35:042023-03-01 05:35:07

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 44ms
memory: 36096kb

input:

2 5 4 10
.2...
...W.
WWW..
.X.1.

output:

6

result:

ok single line: '6'

Test #2:

score: 0
Accepted
time: 374ms
memory: 66136kb

input:

4 8 8 10
W....W.W
.....X..
.....W..
.....2..
.W.....W
...W...1
.W..W.W.
..34.W..

output:

10

result:

ok single line: '10'

Test #3:

score: 0
Accepted
time: 204ms
memory: 50364kb

input:

3 8 8 10
W....W.W
.....X..
.....W..
.....2..
.W.....W
...W...1
.W..W.W.
..3..W..

output:

NO SOLUTION

result:

ok single line: 'NO SOLUTION'

Test #4:

score: 0
Accepted
time: 57ms
memory: 36004kb

input:

1 5 4 10
.....
...W.
WWW..
.X.1.

output:

NO SOLUTION

result:

ok single line: 'NO SOLUTION'

Test #5:

score: 0
Accepted
time: 75ms
memory: 36316kb

input:

2 10 7 6
....W...X.
..2.W.....
....WW....
..........
WWWW......
........W.
.....1..W.

output:

5

result:

ok single line: '5'

Test #6:

score: 0
Accepted
time: 89ms
memory: 36156kb

input:

2 10 10 10
.......W..
.1.....W..
WWWW......
..2W......
..........
......WWWW
..X....W..
WWW.......
..........
.....W....

output:

8

result:

ok single line: '8'

Test #7:

score: 0
Accepted
time: 74ms
memory: 36432kb

input:

2 10 10 10
.......W..
.......W..
WWWW......
..2W......
..........
......WWWW
..X....W1.
WWW.......
..........
.....W....

output:

9

result:

ok single line: '9'

Test #8:

score: 0
Accepted
time: 327ms
memory: 60348kb

input:

4 8 8 10
W...W..W
..W....W
..1W...X
.3.....W
W.....W.
......4.
..2.W...
..W.W...

output:

7

result:

ok single line: '7'

Test #9:

score: 0
Accepted
time: 70ms
memory: 35816kb

input:

2 8 8 10
W..2....
.WW.....
.WW.....
W....W..
........
........
..X..1..
...WW...

output:

3

result:

ok single line: '3'

Test #10:

score: 0
Accepted
time: 589ms
memory: 84448kb

input:

4 8 8 10
W..2....
....W...
W.WW...1
.W....W.
..W....3
.....4..
.X.W...W
..WW....

output:

7

result:

ok single line: '7'

Test #11:

score: 0
Accepted
time: 648ms
memory: 91528kb

input:

4 8 8 10
.W.W.X..
........
..W.....
.3....WW
..W2.W..
..4..W.W
..1.....
...W.W..

output:

8

result:

ok single line: '8'