题目分析:称不上什么数论,但是动下脑筋就行,如果含平方的数,那么他的因子个数为奇数,否则为偶
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include <iostream>
using namespace std;
int main()
{
//freopen("in.txt","r",stdin);
long long n;
while(scanf("%lld",&n)&&n)
{
int t=sqrt(n);
cout<<(((long long)t*t==n)? "yes":"no")<<endl;
}
return 0;
}