CodeChef Practice Solutions in C++