mirror of
https://github.com/Anduin2017/HowToCook.git
synced 2025-12-18 03:04:23 +08:00
@@ -23,7 +23,9 @@
|
|||||||
* b >= a
|
* b >= a
|
||||||
* b <= a + 1
|
* b <= a + 1
|
||||||
|
|
||||||
得到一组关于`a`, `b`的整数解即可。
|
解得
|
||||||
|
* a = floor(N/2)
|
||||||
|
* b = ceil(N/2)
|
||||||
|
|
||||||
### 菜的选择
|
### 菜的选择
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user