全部评论 3

  • #include <bits/stdc++.h>
    using namespace std;
    int main(){
    int x,y;
    cin>>x>>y;
    if(x>y){
    cout<<">";
    }
    else if(y<x){
    cout<<"<";
    }
    else{
    cout<<"=";
    }
    return 0;
    }
    我这也不知为什么错了

    1周前 来自 四川

    0
  • 做对了却做错了

    2025-05-04 来自 上海

    0
  • AC代码

    #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;
    }
    

    2025-05-04 来自 浙江

    0

热门讨论