mirror of
https://github.com/Anduin2017/HowToCook.git
synced 2025-12-18 03:04:23 +08:00
Update 如何选择现在吃什么.md
This commit is contained in:
@@ -24,8 +24,10 @@
|
|||||||
|
|
||||||
解得
|
解得
|
||||||
|
|
||||||
* a = floor((N+1)/2)
|
```javascript
|
||||||
* b = ceil((N+1)/2)
|
const a = Math.floor((N+1)/2);
|
||||||
|
const b = Math.ceil((N+1)/2);
|
||||||
|
```
|
||||||
|
|
||||||
### 菜的选择
|
### 菜的选择
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user