Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
161767 屠思宇 02数字拼接 C++ Accepted 1 MS 280 KB 225 2026-10-07 13:34:43

Tests(10/10):


Code:

#include<iostream> #include<cstring> using namespace std; int main(){ string a,b; cin>>a>>b; string s=a+b; long long num = stoll(s); long long ans = num*num; cout<<ans<<'\n'; return 0; }