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 |
Tags
- 자바
- Python
- 백준
- 모의 주식
- 코스닥
- 코딩테스트
- frontend
- 자바정리
- 이웃한 칸
- 코딩독학
- 프로그래밍
- SNS
- 코딩
- Reflex
- 빅데이터
- 프로그래머스
- backend
- 프로그램
- 자바독학
- java
- 사물인터넷
- 풀스택프레임워크
- java정리
- 개인프로젝트
- 주가예측
- 개발
- 개발자
- 코테
- Project
- C++
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