mirror of
https://github.com/halfrost/LeetCode-Go.git
synced 2025-07-25 20:21:47 +08:00
optimization code level from A to A+
This commit is contained in:
@ -26,42 +26,42 @@ func Test_Problem864(t *testing.T) {
|
||||
|
||||
qs := []question864{
|
||||
|
||||
question864{
|
||||
{
|
||||
para864{[]string{".##..##..B", "##...#...#", "..##..#...", ".#..#b...#", "#.##.a.###", ".#....#...", ".##..#.#..", ".....###@.", "..........", ".........A"}},
|
||||
ans864{11},
|
||||
},
|
||||
|
||||
question864{
|
||||
{
|
||||
para864{[]string{"Dd#b@", ".fE.e", "##.B.", "#.cA.", "aF.#C"}},
|
||||
ans864{14},
|
||||
},
|
||||
|
||||
question864{
|
||||
{
|
||||
para864{[]string{"@...a", ".###A", "b.BCc"}},
|
||||
ans864{10},
|
||||
},
|
||||
|
||||
question864{
|
||||
{
|
||||
para864{[]string{"@Aa"}},
|
||||
ans864{-1},
|
||||
},
|
||||
|
||||
question864{
|
||||
{
|
||||
para864{[]string{"b", "A", "a", "@", "B"}},
|
||||
ans864{3},
|
||||
},
|
||||
|
||||
question864{
|
||||
{
|
||||
para864{[]string{"@.a.#", "#####", "b.A.B"}},
|
||||
ans864{-1},
|
||||
},
|
||||
|
||||
question864{
|
||||
{
|
||||
para864{[]string{"@.a.#", "###.#", "b.A.B"}},
|
||||
ans864{8},
|
||||
},
|
||||
|
||||
question864{
|
||||
{
|
||||
para864{[]string{"@..aA", "..B#.", "....b"}},
|
||||
ans864{6},
|
||||
},
|
||||
|
Reference in New Issue
Block a user