题解 | #平方根#
平方根
https://ac.nowcoder.com/acm/contest/18839/1037
#include<iostream> using namespace std; #include<cmath> int main() { int a; cin>>a; int b=sqrt(a); cout<<b<<endl; }
平方根
https://ac.nowcoder.com/acm/contest/18839/1037
#include<iostream> using namespace std; #include<cmath> int main() { int a; cin>>a; int b=sqrt(a); cout<<b<<endl; }
相关推荐