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
- react
- 알고리즘
- 반응형 프로그래밍
- 안드로이드 다이얼로그
- 코틀린
- 개발자
- RxKotiln
- RxJava
- 이펙티브 코틀린
- 코루틴
- MVVM
- android
- 코딩테스트
- 일상
- 안드로이드 컴포즈
- swift map
- Flutter
- Kotiln
- 안드로이드
- Swift 문법
- Go언어
- Dev6
- 안드로이드 개발자
- 잡담
- android compose
- 프로그래머스
- Firebase
- 이펙티브코틀린
- Rxjava 안드로이드
- Java
Archives
- Today
- Total
목록종만북 #알고스팟 #알고리즘 #알고스팟 소풍 (1)
최데브는 오늘도 프로그래밍을 한다.
알고스팟 - 소풍
#include #include #include #include #include using namespace std; int n, m; int tcase; bool arefriends[10][10]; int dfs(bool selected[10]) { int firstfree = -1; for (int i = 0;i < n;i++) { if (!selected[i]) { firstfree = i;// 아직 골라지지 않은 사람의 인덱스를 저장하고 break break; } } if (firstfree == -1) return 1; int ret = 0; for (int j = firstfree + 1; j < n;j++) { if (!selected[j] && arefriends[firstfree][j])..
알고리즘
2020. 6. 15. 18:17