Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
865 | A班-黎祖彦 | 大数的平方 | C++ | 通过 | 100 | 1 MS | 260 KB | 212 | 2024-11-30 10:55:37 |
#include<bits/stdc++.h> using namespace std; int main(){ int x,y; cin>>x>>y; if(x>y) { cout<<x*x;//setprecision(2)<<fixed<<1.98*x; } else { cout<<y*y;//setprecision(2)<<fixed<<1.68*x; } }