mirror of
https://github.com/Anduin2017/HowToCook.git
synced 2025-01-30 13:32:56 +08:00
Update 如何选择现在吃什么.md
提供解析解
This commit is contained in:
parent
dcd50fad91
commit
4f869dc0dc
@ -23,7 +23,9 @@
|
||||
* b >= a
|
||||
* b <= a + 1
|
||||
|
||||
得到一组关于`a`, `b`的整数解即可。
|
||||
解得
|
||||
* a = floor(N/2)
|
||||
* b = ceil(N/2)
|
||||
|
||||
### 菜的选择
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user