mirror of
https://github.com/Anduin2017/HowToCook.git
synced 2026-01-12 18:27:20 +08:00
Fix #1512
This commit is contained in:
@@ -24,8 +24,10 @@
|
|||||||
|
|
||||||
解得
|
解得
|
||||||
|
|
||||||
* a = floor(N/2)
|
```javascript
|
||||||
* b = ceil(N/2)
|
a = Math.floor((N + 1) / 2);
|
||||||
|
b = (N + 1) - a;
|
||||||
|
```
|
||||||
|
|
||||||
### 菜的选择
|
### 菜的选择
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user