⌨️

[AtCoder]ABC-161|A - ABC Swap

2023/03/09に公開

設問ページ

提出結果

def getIntMap():
    return map(int, input().split())


def swap(a, b):
    return b, a


def main():
    x, y, z = getIntMap()

    x, y = swap(x, y)
    x, z = swap(x, z)

    print('%d %d %d' % (x, y, z))


if __name__ == "__main__":
    main()

Discussion