Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 이펙티브 코틀린
- RxKotiln
- Rxjava 안드로이드
- Kotiln
- MVVM
- Go언어
- 안드로이드 개발자
- 코딩테스트
- Firebase
- 잡담
- 일상
- 안드로이드
- Flutter
- Swift 문법
- 이펙티브코틀린
- 알고리즘
- RxJava
- 안드로이드 컴포즈
- swift map
- 코틀린
- react
- 안드로이드 다이얼로그
- Java
- Dev6
- 프로그래머스
- 코루틴
- android compose
- 반응형 프로그래밍
- 개발자
- android
Archives
- Today
- Total
목록종만북 #알고스팟 #보글게임 (1)
최데브는 오늘도 프로그래밍을 한다.
알고스팟 - 보글게임(무식하게 풀기방법만 적용)
#include #include #include #include #include using namespace std; int n, m; int dx[] = {-1,-1,-1,1,1,1,0,0}; int dy[] = {-1,0,1,-1,0,1,-1,1}; vector visit; string board[5]; bool findword(const string& s, int x, int y ) { //s.substr(1) 로 인해서 재귀를 한번 할때마다 첫번째 글자가 다음 글자로 바뀜 if (board[x][y] != s[0]) return false; if (s.size() == 1) return true;//비교할 글자가 한글자가 되면 탈출 for (int i = 0;i < 8;i++) {//상하좌우대각선..
알고리즘
2020. 6. 15. 16:13