1 solutions

  • 1
    @ 2025-3-25 17:58:17
    #include <bits/stdc++.h>
    using namespace std;
    int main()
    {
        int x,y,a,b;
        cin >> x >> y;
        a = (x * 4 - y) / 2;
        b = x - a;
        cout << a << " " << b;
        return 0;
    }
    

    不懂者请复习小学鸡兔同笼>>知识点(两差相除)

    • 1

    Information

    ID
    1250
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    10
    Tags
    # Submissions
    5
    Accepted
    4
    Uploaded By