From e317c0642dd4dc0478701d7ea697f7eff1659284 Mon Sep 17 00:00:00 2001 From: Azureki Date: Tue, 16 Apr 2019 22:09:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=9A=E5=BC=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 1025. Divisor Game/main.go | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 1025. Divisor Game/main.go diff --git a/1025. Divisor Game/main.go b/1025. Divisor Game/main.go new file mode 100644 index 0000000..153ccef --- /dev/null +++ b/1025. Divisor Game/main.go @@ -0,0 +1,10 @@ +func divisorGame(N int) bool { + // 2,4,6 + // 3,5, + if N&1 == 0 { + return true + + } + return false + +} \ No newline at end of file