⌨️[AtCoder]ABC-161|A - ABC Swap2023/03/09に公開・約300字ツイートPythonAtCoder#abctech 設問ページ 🔗ABC-161 A - ABC Swap 提出結果 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ログインするとコメントできますLogin
Discussion