Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
141534 万擘玄 02数字拼接 C++ Compile Error 0 MS 0 KB 137 2025-12-26 20:16:51

Tests(0/0):


Code:

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


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:12: error: conflicting declaration 'long long int c'
  long long c;
            ^
Main.cc:4:10: note: previous declaration as 'int c'
  int a,b,c;
          ^