PREDICTTIME - Editorial

PROBLEM LINK:

Practice

Author: Manas Rawat
Tester: Satish Kumar Prajapati
Editorialist: Manas Rawat

DIFFICULTY:

CAKEWALK

PROBLEM:

You have been given the current time in 24 hours format and you have to tell the time after X minutes in 24 hours format.

QUICK EXPLANATION:

This is a very simple problem based on time conversion. We can convert the current time in minutes and then add X to add. After this convert the obtained time in minutes again to 24 hours format.

SOLUTIONS:

Solution can be found here.