uva 10110

 1  #include<stdio.h>
 2  #include<math.h>
 3 
 4 int main()
 5  {
 6      double v ;
 7      while(1)
 8      {
 9          scanf("%lf",&v);
10          if(v-0<=1e-10)break;
11          double k;
12          k = sqrt(v);
13          if(k-(int)k<=1e-10)printf("yes\n");
14          else printf("no\n");
15      }
16      return 0 ;
17  }

看不懂题目啊  英语太差 看这个

http://blog.csdn.net/qq297060023/article/details/9494301

posted @ 2013-12-06 20:34  shaughn  阅读(85)  评论(0编辑  收藏  举报