Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
111793 | 何旻慧 | 02数字拼接 | C++ | Compile Error | 0 MS | 0 KB | 336 | 2025-03-05 20:02:34 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ longlong a,b,c; cin>>a>>b; c=a*10+b; cout<<c*c; return 0; }
Main.cc: In function 'int main()': Main.cc:8:5: error: 'longlong' was not declared in this scope longlong a,b,c; ^ Main.cc:9:10: error: 'a' was not declared in this scope cin>>a>>b; ^ Main.cc:9:13: error: 'b' was not declared in this scope cin>>a>>b; ^ Main.cc:10:5: error: 'c' was not declared in this scope c=a*10+b; ^