#include<iostream> #include<stdio.h> using namespace std; int main() { long long int x,y; cin>>x>>y; if(x>y) cout<<">"; if(x==y) cout<<"="; if(x<y) cout<<"<"; return 0; }
1.4-05:整数大小比较
最新推荐文章于 2024-11-02 14:41:43 发布
#include<iostream> #include<stdio.h> using namespace std; int main() { long long int x,y; cin>>x>>y; if(x>y) cout<<">"; if(x==y) cout<<"="; if(x<y) cout<<"<"; return 0; }