1 条题解

  • 0
    @ 2025-12-13 15:32:50

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

    int main(){ int n; cin >> n; string res; int ma = -1, mi; while(n --){ string s, t; cin >> s >> t; s += " " + t; int x, y; cin >> x >> y; if(x > ma || x == ma && y < mi) ma = x, mi = y, res = s; } cout << res << endl; }

    信息

    ID
    153
    时间
    1000ms
    内存
    256MiB
    难度
    3
    标签
    (无)
    递交数
    3
    已通过
    1
    上传者