1 solutions

  • 1
    @ 2026-4-4 15:42:49

    #include<bits/stdc++.h>
    using namespace std;
    int main(){
    int j,t,zt,zj;
    cin>>zt>>zj;
    j=zt*2-zj/2;
    t=zj/2-zt;
    cout<<j<<" "<<t;
    return 0;
    }

    Information

    ID
    2820
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    7
    Tags
    # Submissions
    21
    Accepted
    7
    Uploaded By