Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
118823 | 杜禹轩 | 07比较大小 | C++ | Accepted | 1 MS | 272 KB | 316 | 2025-05-10 15:11:18 |
#include<bits/stdc++.h> using namespace std; int main(){ /** char a; cin>>a; if(a=='Y'){ cout<<'A'; }else{ if(a=='Z'){ cout<<'B'; }else{ cout<<char(a+2); }**/ int a,b; cin>>a>>b; if(a<b){ cout<<b; }else{ cout<<a; } return 0; }