Skip to content

Commit

Permalink
Update 14500.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
encrypted-def authored Apr 12, 2024
1 parent da08fbe commit 2891705
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 0x0D/solutions/14500.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Authored by : BaaaaaaaaaaarkingDog
// Co-authored by : -
// http://boj.kr/693d1ccff5ef479e848979c746b404b1
// http://boj.kr/c472fdbf8dbb4b91ada365258587bc06
#include <bits/stdc++.h>
using namespace std;

Expand All @@ -13,7 +13,7 @@ int board[502][502];
vector<vector<pair<int,int>>> tetro;

// a, b가 상하좌우로 인접한 칸인지 확인하는 함수
bool isadj(pair<int, int> a, pair<int, int> b){
bool isadj(pair<int, int>& a, pair<int, int>& 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;
Expand Down

0 comments on commit 2891705

Please sign in to comment.