Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
130398 鄢晨曦 02买礼物 C++ Compile Error 0 MS 0 KB 158 2025-09-13 14:12:45

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main() { long long a,b cin>>a>>b; cout<<(a*10+b)*(a*10+b)<<endl; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:7:2: error: expected initializer before 'cin'
  cin>>a>>b;
  ^
Main.cc:11:14: error: 'b' was not declared in this scope
  cout<<(a*10+b)*(a*10+b)<