U E D R , A S I H C RSS

Light More Light/문보창

2005/02/19 Accepted 0:00.613 448
, . . . .

~cpp 
// no10110 - Light, more Light
#include <iostream>
#include <cmath>
using namespace std;
int main()
{	
	unsigned int n;
	while (cin >> n)
	{
		if (n == 0)
			break;
		if (int(sqrt(n)) == double(sqrt(n)))
			cout << "yes\n";
		else
			cout << "no\n";
	}
	return 0;
}
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:23:38
Processing time 0.0080 sec