5 条题解

  • 0
    @ 2024-5-12 9:24:37

    #include<bits/stdc++.h> using namespace std; int main(){ int x,y,z,q,p,x1=2,y1=5,z1=3,a,b,c,d,e,f; cin>>x>>y>>z>>q; a=xx1; b=yy1; c=z*z1; d=a+b+c; e=d-q; f=q-d; if(q<d){ cout<<"No"<<endl; cout<<e; }else{ cout<<"Yes"<<endl; cout<<f; } return 0; }

    信息

    ID
    2171
    时间
    1000ms
    内存
    256MiB
    难度
    1
    标签
    递交数
    177
    已通过
    87
    上传者