From 289170515259d0cb56d6ccf0f90066864a6f52f5 Mon Sep 17 00:00:00 2001 From: encrypted-def <20028331+encrypted-def@users.noreply.github.com> Date: Fri, 12 Apr 2024 23:01:40 +0900 Subject: [PATCH] Update 14500.cpp --- 0x0D/solutions/14500.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/0x0D/solutions/14500.cpp b/0x0D/solutions/14500.cpp index 10f397d4..91a459d6 100644 --- a/0x0D/solutions/14500.cpp +++ b/0x0D/solutions/14500.cpp @@ -1,6 +1,6 @@ // Authored by : BaaaaaaaaaaarkingDog // Co-authored by : - -// http://boj.kr/693d1ccff5ef479e848979c746b404b1 +// http://boj.kr/c472fdbf8dbb4b91ada365258587bc06 #include using namespace std; @@ -13,7 +13,7 @@ int board[502][502]; vector>> tetro; // a, b가 상하좌우로 인접한 칸인지 확인하는 함수 -bool isadj(pair a, pair b){ +bool isadj(pair& a, pair& b){ if(a.X == b.X) return abs(a.Y - b.Y) == 1; if(a.Y == b.Y) return abs(a.X - b.X) == 1; return false;