| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 159711 | 张晓冉 | 求平方根 | C++ | Compile Error | 0 MS | 0 KB | 107 | 2026-09-06 14:48:49 |
#include<bits/stdc++.h> using namespace std; int main{ int a; cin>>a; cout<<sqrt(a)<<endl; }
Main.cc:4:2: error: expected primary-expression before 'int'
int a;
^
Main.cc:4:2: error: expected '}' before 'int'
Main.cc:4:2: error: expected ',' or ';' before 'int'
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<