mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
ddd34a4f1c
2000-2099
13 lines
201 B
C++
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;
|
|
}
|