Skip to content

Commit 5281203

Browse files
authored
Update 如何选择现在吃什么.md
1 parent 9ad206e commit 5281203

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: tips/如何选择现在吃什么.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@
2424

2525
解得
2626

27-
* a = floor((N+1)/2)
28-
* b = ceil((N+1)/2)
27+
```javascript
28+
const a = Math.floor((N+1)/2);
29+
const b = Math.ceil((N+1)/2);
30+
```
2931

3032
### 菜的选择
3133

0 commit comments

Comments
 (0)