Skip to content

Commit a50fddf

Browse files
committed
src/bin/nim-game.rs
1 parent 521b918 commit a50fddf

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/bin/nim-game.rs

+9
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)