题解 AT1061 【あるピアニスト】

这道题其实很水的,就是在两个数中选一个最大的,但是最后一定要空行!!!被坑的好惨:

代码如下:

#include<bits/stdc++.h>
using namespace std;
int main()
{
    int a,b;
    scanf("%d%d",&a,&b);
    printf("%d\n",max(a,b));
    return 0;
}
posted @ 2020-07-17 17:24  Mudrobot  阅读(137)  评论(0编辑  收藏  举报