| ||||||||||
| 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 | |||||||||
2333大水题!还能更短嘛。。。王记\n又PE一次,我晕!
#include <stdio.h>
#include <cmath>
int main() {
int n;
scanf("%d", &n);
for(int i = 0; i < n; i++){
int r;
scanf("%d", &r);
printf("%d\n", (int)(sqrt(r*1.0)));
}
return 0;
}
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator