1 solutions

  • 0
    @ 2023-6-10 11:55:43

    贪心,难度橙黄左右。

    排序依据如下:

    if(min(a.a,b.b)!=min(a.b,b.a)) return min(a.a,b.b)<min(a.b,b.a);
    return a.a>b.a;
    
    • 1

    Information

    ID
    4
    Time
    1000ms
    Memory
    512MiB
    Difficulty
    7
    Tags
    # Submissions
    53
    Accepted
    14
    Uploaded By