From 2a8b4098c28f91246e188a38dc4e57d44a153ffa Mon Sep 17 00:00:00 2001 From: Potato Chip Date: Fri, 12 Nov 2021 11:37:50 +0530 Subject: [PATCH] :sparkles: solve 1025 --- 1025.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 1025.cpp diff --git a/1025.cpp b/1025.cpp new file mode 100644 index 0000000..9d8b986 --- /dev/null +++ b/1025.cpp @@ -0,0 +1,9 @@ +// https://leetcode.com/problems/divisor-game/ + +#include +using namespace std; + +class Solution { + public: + bool divisorGame(int n) { return (n & 1) == 0; } +}; \ No newline at end of file