HackerEarth's basic programming solutions( Back to School, Minimum Steps, Cipher ) :
Problem 39: Back to School Solution: (in c++) ( please guys before moving to the solution try it yourself at least 3-4 times , if you really wanna become a good coder) #include< bits/stdc++.h > using namespace std ; int main () { int a , b , c ; cin >> a >> b >> c ; if ( a > b && a > c ) { cout << a ; } else if ( b > a && b > c ) { cout << b ; } else { cout << c ; } } This code is simple. There's no need for any explanation. Problem 40: Minimum Steps Solution: (in c++) ( please guys before moving to the solution try it yourself at least 3-4 times , if you really wanna become a good coder) #include< bits/stdc++.h > using namespace std ; int main () { long long test , count , k , m , n , x ; cin >> test ; while ( test --) { count = 0 ; cin >