#include <stdio.h> #include <math.h> int main() { int n = 0; scanf("%d", &n);//整数 float f = sqrt(n);//求根 printf("%d", (int)f);//向下取整 return 0; }