1 条题解

  • 1
    @ 2025-7-30 21:08:45
    
    #include <iostream>
    #include <bits/stdc++.h>
    using namespace std;
    int main()
    {
        string a,b;
        int c,d;
        cin>>a>>c;
        cin>>b>>d;
        if(c>d)
        {
            cout<<a;
            return 0;
        }
        if(d>c)
        {
            cout<<b;
            return 0;
        }
        else
        {
            cout<<"equal";
            return 0;
        }
        return 0;
    }
    
    
    • 1

    信息

    ID
    152
    时间
    1000ms
    内存
    256MiB
    难度
    6
    标签
    (无)
    递交数
    28
    已通过
    11
    上传者