Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
4543 邓小龙 02数字拼接 C++ Accepted 0 MS 268 KB 326 2024-08-21 15:19:57

Tests(10/10):


Code:

#include<iostream> using namespace std; int main(){ long long a,b; //数据类型是整型int:范围-2^31到2^31-1(-2147483648到2147483647) //long long范围:-2^63到2^63-1 //(-9,223,372,036,854,775,808到9,223,372,036,854,775,807) cin>>a>>b; cout<<(a*10+b)*(a*10+b)<<endl; return 0; }