logo AlgoBeat OnlineJudge
登录 注册

题解

作者: tyxx040105  ·  发布于 2026-08-25 8:48:10  ·  最后修改于 2026-08-25 15:31:47
已通过
审核员:AlgoBeat 官方账号 · 2026-08-25 15:31:47

签到题,只需要比较 和 的大小,注意输出是 YE5 1'm happy:) 和 N0 1'm sad:(,而不是 YES I'm happy:) 和 NO I'm sad:(。

#include<bits/stdc++.h>
using namespace std;
int main(){
    freopen("basic.in","r",stdin);
    freopen("basic.out","w",stdout);
    long long x,a;
    cin>>x>>a;
    if(a>=x) cout<<"YE5 1'm happy:)";
    else cout<<"N0 1'm sad:(";
    return 0;
}

暂无评论

登录 后即可评论。