문제 : https://www.acmicpc.net/problem/9466 #include #include #include #include using namespace std; int test_case; int student_num; int graph[100001]; bool visited[100001]; bool finished[100001]; int cnt=0; void DFS(int now_pos) { visited[now_pos] = true; int next = graph[now_pos]; if (visited[next] == true) { // != if(vistied && finished) else 처리에서 달라진다. if (finished[next] == false) { int first_..
알고리즘/(깨짐)
2017. 3. 23. 10:11
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- command
- 생활코딩
- 코딩야학
- XAML
- MVVM
- DP
- 백준온라인
- BOJ
- 문자열
- C++
- dfs
- FEED
- UIView Animation
- 객체
- CollectionView
- Add TapGesture
- Custom Cell
- Fakebook
- BFS
- listview
- 그래프
- CustomCollectionViewCell
- Cell Animation
- 데이터 바인딩
- Grid
- WPF
- 백준
- 타일링
- 스택
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함