CodeChef::DIFFSUM

 

#include <bits/stdc++.h>
using namespace std ;

int main (){
int n1 ;
int n2 ;
cin >> n1 ;
cin >> n2 ;
if (n1 > n2) cout << n1-n2 << '\n';
else cout << n1+n2 << '\n';

return 0;
}

Comments

Popular posts from this blog

CodeChef::CSUB

How Recursion Works?

CodeChef::TREE2