10 条题解
-
2
#include <iostream> #include <stdio.h> #include <iomanip> #include <math.h> using namespace std; const int N = 1e6 + 10; const int INF = 0x3f3f3f3f; int main() { int x , y; cin >> x >> y; if( x > y ) { cout << ">"; } else if( x = y ) { cout << "="; } else { cout << "<"; } return 0; }
-
0
#include #include using namespace std; const int N=1e5+10; const int INF=0x3f3f3f3f; int x,y; bool a(int x,int y) { if(x>y) return 1; else if(x<y) return 0; else if(x==y) return 2; } int main(){ cin>>x>>y; if(a(x,y)==0) cout<<"<"; else if(a(x,y)==1) cout<<">"; else if(a(x,y)==2) cout<<"="; } 闲的
- 1
信息
- ID
- 891
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 3
- 标签
- 递交数
- 641
- 已通过
- 367
- 上传者