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