Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
104427 | 张泽一 | 02数字拼接 | C++ | Compile Error | 0 MS | 0 KB | 148 | 2025-01-04 20:40:54 |
#include<iostream> // cin\cout\endl using namespace std; int main(){ int a,b; cin>>a>>b; cout <<(a*10+b)**2; return 0; }
Main.cc: In function 'int main()': Main.cc:6:22: error: invalid type argument of unary '*' (have 'int') cout <<(a*10+b)**2; ^