Problem 256 -- Quirksome Squares
Tips
Really easy one. All numbers can be handled with a long type. It tests whether you can change int into string and string back into int. Some basic skill in handling strings are also needed.
Using square (x*x) have a risk of overflowing. You can use the reverse: sqrt to test for square numbers.
My program ran for several minutes before finding the answer. Once you get the answer, use series of printf() statements as your solution.