| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 72180 | 任星宇 | 02买铅笔 | C++ | Compile Error | 0 MS | 0 KB | 185 | 2024-05-01 11:53:21 |
#include<iostream> using namespace std; int main(){ int a,b,c,d,; inte,f; cin>>a>>b>>c>>d; e=c*10+b; f=a*10+b; cout<<e/f<<endl; return 0; }
Main.cc: In function 'int main()':
Main.cc:4:17: error: expected unqualified-id before ';' token
int a,b,c,d,;
^
Main.cc:5:5: error: 'inte' was not declared in this scope
inte,f;
^
Main.cc:5:10: error: 'f' was not declared in this scope
inte,f;
^
Main.cc:7:5: error: 'e' was not declared in this scope
e=c*10+b;
^