You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#include
using namespace std;
#include<bits/stdc++.h>
#define ll long long int
int main(){
ll n,a;
while(cin>>n&&n!=0){
a=(ll)sqrt(n);
if(a*a==n){
cout<<"yes"<<endl;
}
else{
cout<<"no"<<endl;
}