#include <iostream> #include <cmath> using namespace std; int main() { int a; cin>>a; double c= sqrt(a); cout<<floor(c); } // 64 位输出请用 printf("%lld")