aboutsummaryrefslogtreecommitdiff
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
commit7d2908682422ce9f28b6c8a5bda7a8708d4fcb0d (patch)
tree7b047a86a82b057dedfa63d09f8a6ab88345e9d8
parente19d17f510398aa37a38bac1341fbea1f2baf3cd (diff)
downloadcrupest-7d2908682422ce9f28b6c8a5bda7a8708d4fcb0d.tar.gz
crupest-7d2908682422ce9f28b6c8a5bda7a8708d4fcb0d.tar.bz2
crupest-7d2908682422ce9f28b6c8a5bda7a8708d4fcb0d.zip
import(solutions): Add problem 1025 .
-rw-r--r--works/solutions/cpp/1025.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/works/solutions/cpp/1025.cpp b/works/solutions/cpp/1025.cpp
new file mode 100644
index 0000000..69d75d9
--- /dev/null
+++ b/works/solutions/cpp/1025.cpp
@@ -0,0 +1,8 @@
+class Solution
+{
+public:
+ bool divisorGame(int N)
+ {
+ return N % 2 == 0;
+ }
+};