This commit is contained in:
youngyangyang04
2022-02-09 14:57:04 +08:00
parent 2d22dc7ede
commit 81c1060ad7
3 changed files with 9 additions and 9 deletions

View File

@ -135,7 +135,6 @@ Markdown支持部分html例如这样
-----------------------
* 作者微信:[程序员Carl](https://mp.weixin.qq.com/s/b66DFkOp8OOxdZC_xLZxfw)
* B站视频[代码随想录](https://space.bilibili.com/525438321)

View File

@ -210,7 +210,7 @@ int main() {
## 其他语言版本
Java
### Java
```java
public static void main(String[] args) {
@ -240,7 +240,7 @@ Java
Python
### Python
```python
def test_1_wei_bag_problem():
weight = [1, 3, 4]
@ -260,7 +260,7 @@ def test_1_wei_bag_problem():
test_1_wei_bag_problem()
```
Go
### Go
```go
func test_1_wei_bag_problem(weight, value []int, bagWeight int) int {
// 定义 and 初始化
@ -292,7 +292,7 @@ func main() {
}
```
javaScript:
### javaScript
```js