2 solutions

  • 1
    @ 2026-11-29 15:17:41

    #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; }

    • 1
      @ 2026-5-3 17:58:21

      #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;

      }

      • 1

      Information

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