first commit
from old repository to a new repository
This commit is contained in:
12
boj/2525.py
Normal file
12
boj/2525.py
Normal file
@@ -0,0 +1,12 @@
|
||||
h,m=map(int,input().split())
|
||||
w=int(input())
|
||||
|
||||
m+=w
|
||||
if m>=60:
|
||||
wh=int(m/60)
|
||||
h+=wh
|
||||
if h>23:
|
||||
h-=24
|
||||
m-=wh*60
|
||||
|
||||
print(h,m)
|
||||
Reference in New Issue
Block a user