2 条题解

  • 4
    @ 2024-10-1 20:33:37

    上过学的都会。 不懂翻课本(菜就多练

    #include<bits/stdc++.h>
    using namespace std;
    int main(){
        //还是要撸代码的,神。
        int x,y,tu,ji;
        cin>>x>>y;
        ji=(4*x-y)/2;//兔的数量
        tu=x-ji;//鸡的数量
        cout<<ji<<" "<<tu;
    return 0;
    }
    
    
    • -2
    • 1

    信息

    ID
    429
    时间
    1000ms
    内存
    256MiB
    难度
    4
    标签
    递交数
    28
    已通过
    16
    上传者