fork download
  1. H,M = int(input()).split()
  2.  
  3. A = (60*H) + M -45
  4.  
  5. print(int(A)//60)
  6.  
  7. print(int(A)%60)
Runtime error #stdin #stdout #stderr 0.13s 26168KB
stdin
10 10
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 1, in <module>
ValueError: invalid literal for int() with base 10: '10 10'