竞赛
考级
no
#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 if(x < y){ cout << "<"; } return 0; }
R O Y
#include <bits/stdc++.h> using namespace std; int main (){ long long a,b; cin>>a>>b; if (a>b){ cout<<">"; }else if(a==b){ cout<<"="; }else if(a<b){ cout<<"<"; } return 0; }
MINECRAFT
x,y=input().split() x=int(x) y=int(y) if x>y: print('>') elif x==y: print('=') else: print('<')
137****3875
#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; }
西安好市民(鸗)
#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 if(x < y) cout<<"<"; return 0; }
CXL c++
#include<iostream> using namespace std; int main(){ int a,b; cin>>a>>b; if(a>b){ cout<<">"; } else if(a<b){ cout<<"<"; } else{ cout<<"="; } return 0; }
对方正在输入...
#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; }
林宇翔
zsy
6.
仅仅只需要3个if就行了,并没有什么难度
流萤
#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
*学好三目运算符走遍天下
C+Mouger+xhx
#include <iostream> #include <bits/stdc++.h> using namespace std; int main(){ int x,y; cin>>x>>y; while(true){ if(x<y){ cout<<"<"; return 0; } else if(x==y){ cout<<"="; return 0; } else{ cout<<">"; return 0; } } return 0; }
1*5
#include<iostream> using namespace std;int main(){ int x,y; cin>>x>>y; if(x>y)cout<<">"<<endl;else if(x<y)cout<<"<"<<endl;else if(x=y)cout<<"="<<endl; return 0;}
🕈.👎.☝✌💧❄☜☼
共37条