![[백준 14600번] 샤워실 바닥 갈기 (Small) (C++)](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdna%2Fd9kbU1%2Fbtszcp532ZU%2FAAAAAAAAAAAAAAAAAAAAAG2pFhaLc__4Ay8vM1rG-0Z9MFew5CVS7Bm8CXbme2jY%2Fimg.png%3Fcredential%3DyqXZFxpELC7KVnFOS48ylbz2pIh7yKj8%26expires%3D1753973999%26allow_ip%3D%26allow_referer%3D%26signature%3DjG3Xz8Ps9yOCYbgEIfDy0xn4Jjk%253D)
PS/백준 알고리즘[BOJ]2023. 10. 26. 11:20[백준 14600번] 샤워실 바닥 갈기 (Small) (C++)
#include using namespace std; int num; int map[4][4]; bool check(int x1, int y1, int x2, int y2) { for (int i = x1; i > m >> n; map[m-1][n-1] = -1; int siz = (1 = 0; i--, cout