leetcode

Solution to some Leetcode problems written in C++
git clone git://git.dimitrijedobrota.com/leetcode.git
Log | Files | Refs | README | LICENSE

0367.cpp (106B)


0 class Solution { 1 public: 2 bool isPerfectSquare(int num) { return pow((int)sqrt(num), 2) == num; } 3 };