Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
91341 谢绍澜 求平方根 C++ Wrong Answer 0 MS 268 KB 244 2024-09-21 16:07:40

Tests(1/2):


Code:

#include<iostream> #include<cstdio> #include<cstring> #include<cmath> using namespace std; int a(int x){ for(int i=0;;i++){ if(x==i*i) return i; } } int main(){ int n; cin>>n; cout<<a(n); }


Run Info:

------Input------
0.81
------Answer-----
0.9
------Your output-----
0