5 条题解

  • 0
    @ 2026-5-23 11:33:08

    #include <bits/stdc++.h> using namespace std;

    int main() { double x, y; cin >> x >> y; if ( x < y) { cout << "<"; } else if (x == y) { cout << "="; } else if (x > y) { cout << ">"; } return 0; }

    • -1
      @ 2026-5-23 11:31:23

      #include <bits/stdc++.h> using namespace std;

      int main() { double x, y; cin >> x >> y; if ( x < y) { cout << "<"; } else if (x == y) { cout << "="; } else if (x > y) { cout << ">"; } return 0; }

      • -2
        @ 2026-5-23 15:28:38

        #include <bits/stdc++.h> using namespace std;

        int main() { long long x,y; cin>>x>>y; if(x>y){ cout<<">"; } else if(x==y){ cout<<"="; } else if(x<y){ cout<<"<"; }

        return 0;
        

        }

        • -2
          @ 2026-5-23 11:37:56

          #include <bits/stdc++.h> using namespace std;

          int main() { double x, y; std::cin >> x >> y; if ( x < y) { std::cout << "<"; } else if (x == y) { std::cout << "="; } else if (x > y) { std::cout << ">"; } return 0; }

          • -3
            @ 2026-6-6 17:47:38
            • 错误: 0
            • 警告: 0
            • 输出文件名: C:\Users\asus\Documents\新文件1.exe
            • 输出大小: 2.39057064056396 MiB
            • 编译时间: 2.63s
            • 1

            信息

            ID
            30927
            时间
            1000ms
            内存
            256MiB
            难度
            4
            标签
            (无)
            递交数
            135
            已通过
            63
            上传者