We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 521b918 commit a50fddfCopy full SHA for a50fddf
src/bin/nim-game.rs
@@ -0,0 +1,9 @@
1
+fn main() {}
2
+
3
+struct Solution;
4
5
+impl Solution {
6
+ pub fn can_win_nim(n: i32) -> bool {
7
+ n % 4 != 0
8
+ }
9
+}
0 commit comments