mirror of
https://github.com/Anduin2017/HowToCook.git
synced 2026-01-17 12:47:21 +08:00
Compare commits
2 Commits
Anduin2017
...
52812036d9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
52812036d9 | ||
|
|
9ad206e2ec |
@@ -24,8 +24,10 @@
|
|||||||
|
|
||||||
解得
|
解得
|
||||||
|
|
||||||
* a = floor(N/2)
|
```javascript
|
||||||
* b = ceil(N/2)
|
const a = Math.floor((N+1)/2);
|
||||||
|
const b = Math.ceil((N+1)/2);
|
||||||
|
```
|
||||||
|
|
||||||
### 菜的选择
|
### 菜的选择
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user