| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 159710 | 张晓冉 | 求平方根 | C++ | Compile Error | 0 MS | 0 KB | 107 | 2026-09-06 14:46:42 |
#include<bits/stdc++.h> using namespace std; int main( int a; cin>>a; cout<<sqrt(a)<<endl; )
Main.cc:4:7: error: expected ')' before ';' token
int a;
^
Main.cc:3:5: warning: 'int main(int)' takes only zero or two arguments [-Wmain]
int main(
^
Main.cc:5:5: error: 'cin' does not name a type
cin>>a;
^
Main.cc:6:5: error: 'cout' does not name a type
cout<