#include<iostream>
#include<cmath>
using namespace std;
long long n,m;
int main()
{
while(cin>>n&&n)
{
m=pow(n,1.0/2.0);
if(m*m==n)cout<<"yes"<<endl;
else cout<<"no"<<endl;
}
}
uva-10110
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
uva—gcd lcm
II U C ONLINE C ON TEST 2 008 Problem D: GCD LCM Input: standard input Output: standard output The