summaryrefslogtreecommitdiff
path: root/cpp/1025.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-09-21 16:15:03 +0800
committercrupest <crupest@outlook.com>2020-09-21 16:15:03 +0800
commit14311353518c414c4cde98f2aa5e206dd3703171 (patch)
tree5de93911a7bed264645f8426a5cb047ec38224cb /cpp/1025.cpp
parent3f552fd2413d75d3113d09bfc6d4ab7a1c999c67 (diff)
downloadsolutions-14311353518c414c4cde98f2aa5e206dd3703171.tar.gz
solutions-14311353518c414c4cde98f2aa5e206dd3703171.tar.bz2
solutions-14311353518c414c4cde98f2aa5e206dd3703171.zip
Add problem 1025 .
Diffstat (limited to 'cpp/1025.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;
+ }
+};