⌨️

[AtCoder]ABC-258|A - When?

2023/07/04に公開

設問ページ

提出結果

def getInt():
    return int(input())


def main():
    n = getInt()

    m = n % 60
    h = 21 + n // 60

    print('%02d:%02d' % (h, m))


if __name__ == "__main__":
    main()

Discussion