OJ-Problems-Source/HDOJ/2053_autoAC.cpp
2016-08-19 16:52:35 +08:00

13 lines
201 B
C++

#include<cstdio>
#include<cmath>
int main()
{
int n,k;
while(~scanf("%d",&n)){
k=sqrt(n);
if(k*k==n)printf("1\n");
else printf("0\n");
}
return 0;
}