1 条题解

  • 1
    @ 2022-8-21 16:43:35

    #include <bits/stdc++.h>

    using namespace std;

    int a,b,c,d,e,f,g,h,i;

    int x,y,z;

    int main()

    { cin>>a>>b>>c;

    cin>>d>>e>>f;

    cin>>g>>h>>i;

    x = a10000+b100+c;

    y = d10000+e100+f;

    z = g10000+h100+i;

    if((z>=x && z<=y)||(z>=y && z<=x))

    cout<<"Yes";

    else cout<<"No";

    return 0;

    }

    信息

    ID
    43
    时间
    1000ms
    内存
    256MiB
    难度
    8
    标签
    递交数
    190
    已通过
    33
    上传者