문제 : 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
- 문자열
- 생활코딩
- Cell Animation
- Fakebook
- MVVM
- 스택
- 그래프
- dfs
- Grid
- FEED
- listview
- DP
- Custom Cell
- 백준온라인
- WPF
- BOJ
- BFS
- CollectionView
- C++
- 타일링
- 코딩야학
- 객체
- command
- 데이터 바인딩
- XAML
- CustomCollectionViewCell
- 백준
- UIView Animation
- Add TapGesture
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함