?? 1866.cpp
字號:
/* This Code is Submitted by wywcgs for Problem 1866 on 2005-10-21 at 14:05:22 */
#include <cstdio>
#include <cmath>
int main()
{
long k;
while(scanf("%ld", &k) == 1) {
if(k == 0) {
return 0;
} else {
printf("%ld\n", (long)(sqrt(k)+1e-5));
}
}
return 0;
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -