#include<cstdio>
#include<cmath>
#include<iostream>
using namespace std;
int main()
{
long long n, a, b;
while(scanf("%lld",&n)==1)
{
if(n==0)
{
break;
}
a=sqrt(n);
b=a*a;
if(b==n)
{
printf("yes\n");
}
else
{
printf("no\n");
}
}
return 0;
}
#include <stdio.h> #include<string.h> int main() { char* country = "Bangladesh"; char* country2; ...
No comments:
Post a Comment