Problem 636
-- Squares III
read problem
Tips
You need to know how to do base
conversion.
- Read one line.
- Find the minimum possible base (if
input is 61, it surely cannot be base 2).
- From that minimum base to base 100,
convert the number into base 10.
- After each conversion, test whether
the base 10 number is a square number.
Be aware that input line may be very long.
Base 2 numbers are usually very long.