¶
2005/02/19 Accepted 0:00.613 448
한 , 하 했. 해 . 행 . 해 한.
한 , 하 했. 해 . 행 . 해 한.
¶
~cpp // no10110 - Light, more Light #include <iostream> #include <cmath> using namespace std; int main() { unsigned int n; while (cin >> n) { if (n == 0) break; if (int(sqrt(n)) == double(sqrt(n))) cout << "yes\n"; else cout << "no\n"; } return 0; }