update bomblab
This commit is contained in:
parent
9aa52c7d76
commit
42535b0a7b
@ -9,6 +9,7 @@ void phase_1(char str[]) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
> `explode_bomb` 函数将炸弹引爆;`strings_not_equal` 函数接受两个字符串作为参数,在两者不相等时返回 `1`,否则返回 `0`。
|
> `explode_bomb` 函数将炸弹引爆;`strings_not_equal` 函数接受两个字符串作为参数,在两者不相等时返回 `1`,否则返回 `0`。
|
||||||
|
|
||||||
显然,输入应为 `Border relations with Canada have never been better.`。
|
显然,输入应为 `Border relations with Canada have never been better.`。
|
||||||
@ -55,6 +56,7 @@ void phase_2(char str[]) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
> `read_six_numbers(int x[])` 读入 6 个整数,并依次存贮到 `x[0]` 至 `x[5]`。
|
> `read_six_numbers(int x[])` 读入 6 个整数,并依次存贮到 `x[0]` 至 `x[5]`。
|
||||||
|
|
||||||
由此可知,输入应为 `1 2 4 8 16 32`。
|
由此可知,输入应为 `1 2 4 8 16 32`。
|
||||||
|
Loading…
x
Reference in New Issue
Block a user