c/school/ch04_4-5.c · 167 字节 · 下载原文
#include <stdio.h>
#include <math.h> // sqrt
int main(){
int n;
scanf("%d",&n);
if(n>1000){
scanf("%d",&n);
}
printf("%d",(int)sqrt(n));
return 0;
}
c/school/ch04_4-5.c · 167 字节 · 下载原文
#include <stdio.h>
#include <math.h> // sqrt
int main(){
int n;
scanf("%d",&n);
if(n>1000){
scanf("%d",&n);
}
printf("%d",(int)sqrt(n));
return 0;
}