#include <stdio.h> #include<math.h> int main() { int n=0; int m=0; scanf("%d",&n); m=sqrt(n);//整形数据间的运算本来就包含向下取整 printf("%d",m); return 0; }