#P8071. [COCI 2009/2010 #7] SPAVANAC
[COCI 2009/2010 #7] SPAVANAC
Problem Description
Given a time in the -hour format, output the time in the -hour format that is minutes earlier than it.
Input Format
The first line contains two integers .
Output Format
Output two integers representing the time minutes earlier.
10 10
9 25
0 30
23 45
23 40
22 55
Hint
【Constraints】
- For of the testdata, , .
【Hints and Notes】
This problem is translated from COCI 2009-2010 CONTEST #7 Task 1 SPAVANAC.
The score for this problem follows the original COCI settings, with a full score of .
Translated by ChatGPT 5