Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
LeetCodeAnimation
Commits
fdee9bf6
Commit
fdee9bf6
authored
May 17, 2019
by
misterbooo
Browse files
MOD 877
parent
c4a29593
Changes
1
Hide whitespace changes
Inline
Side-by-side
notes/LeetCode第877号问题:石子游戏.md
View file @
fdee9bf6
...
...
@@ -99,7 +99,7 @@
喜羊羊先开始拿石头,随便拿!然后比较石头数量:
1.
如果石头数量多于对手,赢了;
2.
如果石头数量少于对手,自己拿石头的顺序和对手拿石头的顺序对调,还是赢。
2.
如果石头数量少于对手,自己拿石头的顺序和对手拿石头的顺序对调
(
**因为是偶数堆石头,所以可以全部对调**
)
,还是赢。
所以代码如下:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment