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