Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
143857 c13 02数字拼接 C++ Compile Error 0 MS 0 KB 235 2026-01-17 20:26:05

Tests(0/0):


Code:

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


Run Info:

Main.cc: In function 'int main()':
Main.cc:10:9: error: expected ';' before 'u'
         u/=10;
         ^