Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
125393 | 陈淮遇 | 02数字拼接 | C++ | Compile Error | 0 MS | 0 KB | 139 | 2025-07-14 16:03:53 |
#include <bits/stdc++.h> using namespace std; int main() { int a*10+b; int b; int c=a*10+b; long d=c*c; cout<<d; return 0; }
Main.cc: In function 'int main()': Main.cc:4:7: error: expected initializer before '*' token int a*10+b; ^ Main.cc:6:8: error: 'a' was not declared in this scope int c=a*10+b; ^