竞赛
考级
魔丸
#include<iostream> using namespace std; int main(){ int x,y; cin>>x>>y; if(x>y)cout<<">"; else if(x==y) cout<<"="; else cout<<"<"; return 0; }
138****1080
#include<iostream> using namespace std; int main(){ int a,b; cin>>a>>b; }
91VIP
答案如下
邵逸宸
#include <bits/stdc++.h> using namespace std; int main() { int x,y; cin >> x >> y; if(x > y) { cout << ">"; } if(x == y) { cout << "="; } if(x < y) { cout << "<"; } return 0; }
WangYuHao2334
#include<bits/stdc++.h> using namespace std; int main(){ int x,y; cin >>x>>y; if(x>y){ cout <<">"; }else if(x==y){ cout <<"="; }else{ cout <<"<"; } return 0; }
139****5700
黑客_天之神_ZDZL_zsy
有事找大号
仅仅只需要3个if就行了,并没有什么难度
nc
#include<iostream> using namespace std; int main(){ int x,y; cin>>x>>y; if(x>y){ cout<<'>'; } if(x==y){ cout<<'='; } if(x<y){ cout<<'<'; }
#include c++ dxe
#include <iostream> using namespace std; int main(){ int x,y; cin>>x; cin>>y; if(x>y){ cout<<">"; } if(x==y){ cout<<"="; } if(x<y){ cout<<"<"; } return 0; }
༺ཌༀ薛博文ༀད༻
#include<iostream> using namespace std; int a,b; int main(){ cin>>a>>b; if(a>b)cout<<">"; if(a==b)cout<<"="; if(a<b)cout<<"<"; return 0; }
codingman0015
共52条