| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 67754 | 揭伟琦 | 02数字拼接 | C++ | Compile Error | 0 MS | 0 KB | 124 | 2024-03-17 14:18:59 |
#include<bits/stdc++.h> using namespace std; int main(){ long iong a,b; cin >> a >>b ; int c=a*10+b; return 0; }
Main.cc: In function 'int main()':
Main.cc:4:12: error: expected initializer before 'a'
long iong a,b;
^
Main.cc:5:9: error: 'a' was not declared in this scope
cin >> a >>b ;
^
Main.cc:5:13: error: 'b' was not declared in this scope
cin >> a >>b ;
^
Main.cc:6:6: warning: unused variable 'c' [-Wunused-variable]
int c=a*10+b;
^