8000 Update 14500.cpp · kyyneogs/basic-algo-lecture@2891705 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2891705

Browse files
Update 14500.cpp
1 parent da08fbe commit 2891705

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

0x0D/solutions/14500.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Authored by : BaaaaaaaaaaarkingDog
22
// Co-authored by : -
3-
// http://boj.kr/693d1ccff5ef479e848979c746b404b1
3+
// http://boj.kr/c472fdbf8dbb4b91ada365258587bc06
44
#include <bits/stdc++.h>
55
using namespace std;
66

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

1515
// a, b가 상하좌우로 인접한 칸인지 확인하는 함수
16-
bool isadj(pair<int, int> a, pair<int, int> b){
16+
bool isadj(pair<int, int>& a, pair<int, int>& b){
1717
if(a.X == b.X) return abs(a.Y - b.Y) == 1;
1818
if(a.Y == b.Y) return abs(a.X - b.X) == 1;
1919
return false;

0 commit comments

Comments
 (0)
0