Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
143514 张晓冉 02数字拼接 C++ Accepted 0 MS 276 KB 211 2026-01-16 20:39:17

Tests(10/10):


Code:

#include <bits/stdc++.h> using namespace std; int main() { int n,d; cin>>n>>d; string s = to_string(n)+to_string(d); long long num = stoll(s); cout<<num*num<<endl; return 0; }