Md. Arifur Rahman (Sazal)
ক্রমে ক্রমে হ্রাস পাচ্ছে বিবেক, ঘুমিয়ে পড়ছে মানবতা……
Pages
Home
ACM Algorithm
Math
E- Balagurusamy
Basic Program
Assembly Language
Gallery
My Portfolio
Wednesday, 1 June 2011
uva 10110-Light,more light
#include<iostream>
#include<cmath>
using namespace std;
int main()
{
long n,sq;
//freopen("in.txt","r",stdin);
while(cin>>n && n)
{
sq=sqrt(n);
if(sq*sq==n)
cout<<"yes"<<endl;
else
cout<<"no"<<endl;
}
return(0);
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment