Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
152999 张皓凯 02数字拼接 C++ Compile Error 0 MS 0 KB 183 2026-05-08 20:34:55

Tests(0/0):


Code:

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


Run Info:

Main.cc: In function 'int main()':
Main.cc:7:5: error: 'longlong' was not declared in this scope
     longlong n=(longlong)a+b*10;
     ^
Main.cc:8:14: error: expected ';' before 'r'
     longlong r=n*n;
              ^
Main.cc:9:11: error: 'r' was not declared in this scope
     cout<