This category consists of Coding problem solutions based on difficulty levels from CodeChef. All questions are solved in C++.

Find Remainder | Problem Code: FLOW002

Write a program to find the remainder when an integer A is divided by an integer B. InputThe first line contains an integer T, the total number of test cases. Then T lines follow,…

Continue Reading Find Remainder | Problem Code: FLOW002

Sum of Digits | Problem Code: FLOW006

You're given an integer N. Write a program to calculate the sum of all the digits of N. Input The first line contains an integer T, the total number of testcases. Then follow…

Continue Reading Sum of Digits | Problem Code: FLOW006

Number Mirror | Problem Code: START01

Write a program that accepts a number, n, and outputs the same. Input The only line contains a single integer. Output Output the answer in a single line. Constraints 0 ≤ n ≤…

Continue Reading Number Mirror | Problem Code: START01

Add Two Numbers | Problem Code: FLOW001

Shivam is the youngest programmer in the world, he is just 12 years old. Shivam is learning programming and today he is writing his first program. The program is very simple, given two…

Continue Reading Add Two Numbers | Problem Code: FLOW001

Enormous Input Test | Problem Code: INTEST

The purpose of this problem is to verify whether the method you are using to read input data is sufficiently fast to handle problems branded with the enormous Input/Output warning. You are expected…

Continue Reading Enormous Input Test | Problem Code: INTEST

ATM | Problem Code: HS08TEST

Pooja would like to withdraw X $US from an ATM. The cash machine will only accept the transaction if X is a multiple of 5, and Pooja's account balance has enough cash to…

Continue Reading ATM | Problem Code: HS08TEST