[SWEA 1954] ๋ฌํฝ์ด ์ซ์
2022. 2. 13. 22:35
๋ฌธ์ ๋งํฌ https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AV5PobmqAPoDFAUq SW Expert Academy SW ํ๋ก๊ทธ๋๋ฐ ์ญ๋ ๊ฐํ์ ๋์์ด ๋๋ ๋ค์ํ ํ์ต ์ปจํ
์ธ ๋ฅผ ํ์ธํ์ธ์! swexpertacademy.com C++ ํ์ด #include #include using namespace std; int main() { vectorDir = { {0, 1}, {1, 0}, {0, -1}, {-1, 0} }; //์ค๋ฅธ์ชฝ, ์๋, ์ผ์ชฝ, ์ vectorBoard(10, vector(10)); //-1๋ก ์ด๊ธฐํ๋ ๋ฐฐ์ด for (int i = 0; i < 10; ++i) { for (int j = 0; j ..