多种题解
2026-03-12 21:03:04
发布于:北京
2阅读
0回复
0点赞
整理:
| a>b? | a<b? |
|---|---|
| YES | NO |
| 注意⚠️ | 本题只允许大写 |
导入:
懂得都懂
短板: √正确率:95.11%
#include <iostream>
using namespace std;
int main(){
int a,b;
cin>>a>>b;
cout<<(a>b?"YES":"NO");
}
长版:✅️正确率:99.99%
#include <bits/stdc++.h>
using namespace std;
int main(){
int a,b;
cin>>a>>b;
if(a>b){
cout<<"YES"<<endl;
}
else{
cout<<"NO"<<endl;
}
return 0;
//这个简单
相似题⬇️
链接描述
全部评论 1
长版搬运时出格了,注意一下
1周前 来自 北京
0



有帮助,赞一个