Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
58865 | 段文昊 | 【基础题】大数的平方 | C++ | Accepted | 4 MS | 272 KB | 169 | 2023-10-05 20:03:08 |
#include<iostream> #include<cstdio> using namespace std; int main(){ int a,b; cin>>a>>b; if(a>b){ cout<<a*a; } else{ cout<<b*b; } return 0; }