10162번 풀이 [Python]

sua·2022년 6월 1일
0

Baekjoon

목록 보기
42/161
post-thumbnail

문제


풀이

a = int(input())

if a % 10 != 0:
    print(-1)
else:
    print((a // 300), ((a % 300) // 60), ((a % 300 % 60) // 10), sep=' ')
profile
가보자고

0개의 댓글