King-Eternal
Results
3
comments of
King-Eternal
I tried to print some error messages,I hope it helps you
## Swift版本-迭代方式 ### 尝试一下 ``` func calculateMinimumHP(_ dungeon: [[Int]]) -> Int { let rows = dungeon.count, cols = dungeon[0].count var dp: [[Int]] = .init(repeating: .init(repeating: Int.max, count: cols) , count:...
第五题代码 是 有问题