mirror of
https://github.com/halfrost/LeetCode-Go.git
synced 2025-07-24 02:14:00 +08:00
optimization code level from A to A+
This commit is contained in:
@ -27,17 +27,17 @@ func Test_Problem1004(t *testing.T) {
|
||||
|
||||
qs := []question1004{
|
||||
|
||||
question1004{
|
||||
{
|
||||
para1004{[]int{1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 0}, 2},
|
||||
ans1004{6},
|
||||
},
|
||||
|
||||
question1004{
|
||||
{
|
||||
para1004{[]int{0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 1}, 3},
|
||||
ans1004{10},
|
||||
},
|
||||
|
||||
question1004{
|
||||
{
|
||||
para1004{[]int{0, 0, 0, 1}, 4},
|
||||
ans1004{4},
|
||||
},
|
||||
|
Reference in New Issue
Block a user