Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
15296 虞文皓 【基础题】大数的平方 C++ Accepted 3 MS 724 KB 232 2021-07-13 19:59:59

Tests(4/4):


Code:

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