HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Unsorted > problem:


50889 - Convert to Minutes and Seconds

Section problems

• 51108 - First Unique Character
• 50887 - Average of Test Scores
• 50904 - Print All Prime Numbers
• 50895 - Hours Minutes and Seconds
• 50902 - Translate Score into Grade
• 50938 - Translate Score into Grade
• 50958 - Number of Passengers in Train
• 50890 - Convert Celsius to Fahrenheit
• 50889 - Convert to Minutes and...
• 50952 - Print All Numbers from N d...
• 50900 - Put the Numbers in Descend...
• 50884 - Area and Perimeter Of The ...
• 50899 - How Many Years
• 50610 - Feasibility
• 50612 - Fun game
• 50617 - KBH
• 50618 - Code Correction

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.

Convert To Minutes and Seconds

Create a program that converts seconds to minutes and seconds. 

Input: In the first line you will get a positive integer

Output : Number of minutes and seconds with a space in between them.

Sample Input1:

Sample Input2:

Sample Input2:

125

600

45

Sample  Output1:

Sample  Output2:

Sample  Output2:

2minutes 5seconds

10minutes 0seconds

0minutes 45seconds

 

Äëÿ îòïðàâêè ðåøåíèé íåîáõîäèìî âûïîëíèòü âõîä.

www.contester.ru