Codeforces 1162A. Equation Solution
Solve in C++:
- ///**********ALLAH IS ALMIGHTY************///
- ///AH Tonmoy
- ///Department of CSE,23rd batch
- ///Islamic University,Bangladesh
- #include<iostream>
- using namespace std;
- int main()
- {
- long long n;
- cin>>n;
- if(n%2==0)
- cout<<8+n<<" "<<"8"<<endl;
- else
- cout<<9+n<<" "<<"9"<<endl;
- }
No comments