⌨️

[AtCoder]ABC-379|A - Cyclic

2024/11/25に公開

設問ページ

提出結果

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


def shiftL(n):
    d, m = divmod(n, 100)
    return m * 10 + d


def main():
    N = getInt()

    a = shiftL(N)

    print(a, shiftL(a))


if __name__ == "__main__":
    main()

Discussion