From 92bb6f7aee90e6648f71852af67f23fe894013a3 Mon Sep 17 00:00:00 2001 From: chayan das <110921638+Chayandas07@users.noreply.github.com> Date: Thu, 9 May 2024 23:54:56 +0530 Subject: [PATCH] Create 9 May Divisor Game --- 9 May Divisor Game | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 9 May Divisor Game diff --git a/9 May Divisor Game b/9 May Divisor Game new file mode 100644 index 00000000..9357bee0 --- /dev/null +++ b/9 May Divisor Game @@ -0,0 +1,7 @@ +class Solution { + public: + bool divisorGame(int n) { + // code here + return (n%2==0)?1:0; + } +};