Perfect Square
Determine if the input is a perfect square (square of an integer) or not.
Example -
If input is 25(==5^2), return 1.
If input...
2 months 前
已解决
Leap years on other planets
A year is a leap year if it is divisible by 4, but not if it is divisible by 100, unless it is also divisible by 400. This mean...