Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
72139 任星宇 02数字拼接 C++ Compile Error 0 MS 0 KB 164 2024-05-01 11:13:15

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ int a,b,c; cin>>a>>b; c=a*10+b; d=c*c; cout<<d; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:8:5: error: 'd' was not declared in this scope
     d=c*c;
     ^