标签:log while clu color bsp puts code put blog
1 #include<stdio.h> 2 int main() 3 { 4 int n,k,i,m; 5 while(~scanf("%d%d",&n,&k) && n+k) 6 { 7 m=n/2+1; 8 for(i=1; i<m; ++i) 9 if(i*(n-i)==k) 10 m=0; 11 if(m) 12 puts("NO"); 13 else 14 puts("YES"); 15 } 16 }
标签:log while clu color bsp puts code put blog
原文地址:http://www.cnblogs.com/qq188380780/p/6336676.html