⌨️[AtCoder]ABC-108|B - Ruined Square2023/01/28に公開・約400字ツイートPythonAtCoder#abctech 設問ページ 🔗ABC-108 B - Ruined Square 提出結果 def getIntMap(): return map(int, input().split()) def main(): x1, y1, x2, y2 = getIntMap() x = x2 - x1 y = y2 - y1 x3 = x2 - y y3 = y2 + x x4 = x1 - y y4 = y1 + x print("%d %d %d %d" % (x3, y3, x4, y4)) if __name__ == "__main__": main() ツイートDiscussionログインするとコメントできますLogin
Discussion