Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
这个好玩,记得小学时候知道这个的#include<cstdio> #include<cstdlib> #include<cmath> int main() { int n; int i; scanf("%d",&n); for(i=1;i<=n;i++) { int x; scanf("%d",&x); printf("%d\n",int(sqrt((double)x))); } } Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator