Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
92245 | 只因你太美(Ikun 真爱粉) | 输出较大的数 | C++ | Accepted | 0 MS | 276 KB | 342 | 2024-09-28 16:51:36 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ string a; cin>>a; cout<<"max="<<max(int(a[0]),int(a[2]))-48; return 0; }