Codeforces 199A. Hexadecimal's theorem Solution

  1. Solution in C++:

  2. ///**********ALLAH IS ALMIGHTY************///
  3. ///AH Tonmoy
  4. ///Department of CSE,23rd Batch
  5. ///Islamic University,Bangladesh
  6. #include<iostream>
  7. using namespace std;
  8. int main()
  9. {
  10.  
  11. long long int n;
  12. cin>>n;
  13. if(n==0)
  14. printf("0 0 0\n");
  15. else
  16. printf("0 0 %lld\n",n);
  17.  
  18. }

No comments

Most View Post

Recent post

Codeforces Round 925 (Div. 3) 1931D. Divisible Pairs Solution

    Problem Link  :   https://codeforces.com/contest/1931/problem/D S olution in C++: /// Author : AH_Tonmoy #include < bits / stdc ++. ...

Powered by Blogger.