| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 67466 | 张之隽 | 02长方形的面积 | C++ | Compile Error | 0 MS | 0 KB | 137 | 2024-03-16 16:05:33 |
#include<iostream> using namespace std; int main(){ int z,k int k=15; int z=10; cout<<z*k<<endl; return 0; }
Main.cc: In function 'int main()':
Main.cc:5:5: error: expected initializer before 'int'
int k=15;
^
Main.cc:6:9: error: redeclaration of 'int z'
int z=10;
^
Main.cc:4:6: note: 'int z' previously declared here
int z,k
^
Main.cc:7:10: error: 'k' was not declared in this scope
cout<