1 solutions

  • 0
    @ 2025-5-6 18:38:51
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
      int a,b;
      cin>>a>>b;
      if(a>b){
        cout<<a-b;
      }
      else if(a<b){
        cout<<b-a;
      }
      else if(a==b){
        cout<<0;
      }
      return 0;
    }
    
    • 1

    Information

    ID
    988
    Time
    1000ms
    Memory
    64MiB
    Difficulty
    10
    Tags
    # Submissions
    1
    Accepted
    1
    Uploaded By