summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/1025.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/1025.cpp b/cpp/1025.cpp
new file mode 100644
index 0000000..69d75d9
--- /dev/null
+++ b/cpp/1025.cpp
@@ -0,0 +1,8 @@
+class Solution
+{
+public:
+ bool divisorGame(int N)
+ {
+ return N % 2 == 0;
+ }
+};