Skip to content

Commit

Permalink
✨ solve 1025
Browse files Browse the repository at this point in the history
  • Loading branch information
Potato Chip committed Nov 12, 2021
1 parent 791b087 commit 2a8b409
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions 1025.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// https://leetcode.com/problems/divisor-game/

#include <bits/stdc++.h>
using namespace std;

class Solution {
public:
bool divisorGame(int n) { return (n & 1) == 0; }
};

0 comments on commit 2a8b409

Please sign in to comment.