Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
Tags
- Reflex
- 빅데이터
- 코테
- 풀스택프레임워크
- 백준
- 코스닥
- C++
- 프로그래머스
- frontend
- 프로그래밍
- 모의 주식
- SNS
- 자바
- 개인프로젝트
- Project
- Python
- 자바정리
- 프로그램
- 주가예측
- 자바독학
- java
- 코딩
- java정리
- 개발자
- backend
- 사물인터넷
- 코딩테스트
- 이웃한 칸
- 개발
- 코딩독학
Archives
- Today
- Total
목록이웃한 칸 (1)
Creative Code
이웃한 칸
#include #include #include #include using namespace std; int dh[4] = {0,1,-1,0}; // 세로로 이동할 방향 int dw[4] = {1,0,0,-1}; // 가로로 이동할 방향 int solution(vector board, int h, int w) { int answer = 0; // 이웃한 칸이 같은색깔인경우의 수 int n = board.size(); for (int i = 0; i = n || w_check = n) continue; ..
프로그래머스 코테 문제/LEVEL 1
2024. 4. 12. 18:11