mirror of
https://github.com/Anduin2017/HowToCook.git
synced 2026-11-12 00:00:00 +08:00
Update 如何选择现在吃什么.md
This commit is contained in:
1 parent
6747b50490
commit
9f3eb9bafc
1 file changed
+4
-2
+4
-2
@@ -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