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