Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
43571 | 楼俊毅 | 【基础题】大数的平方 | C++ | Accepted | 2 MS | 272 KB | 149 | 2022-12-20 19:45:16 |
#include<iostream> using namespace std; int main(){ int a,b; cin>>a>>b; if(a>b){ cout<<a*a; } else{ cout<<b*b; } return 0; }