250x250
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
- 알고리즘 문제
- STUDYENGLISH
- PyQt
- 백준
- 원서
- the midnight library
- 직무면접
- 코테 대비
- 쉬운 알고리즘 문제
- SQL
- readingbook
- BFS
- sw expert academy
- 프로그래머스
- swexpertacademy
- 삼성
- dfs
- 원서읽기
- 원서읽자
- nightroutine
- 코테 준비
- English
- D4
- englishbook
- MySQL
- 완전탐색
- sw expert
- 코딩테스트
- 코테
- 알고리즘
Archives
- Today
- Total
목록7568 (1)
시나브로
[백준] 7568번 덩치
전체탐색으로 풀면 된다. #include #include #include #include using namespace std; int main(void) { freopen("inp.inp", "r", stdin); freopen("out.out", "w", stdout); int n = 0; scanf("%d", &n); int list[55][2] = { 0 }; for (int i = 0; i < n; i++) { scanf("%d %d", &list[i][0], &list[i][1]); } for (int i = 0; i < n; i++) { int count = 1; for (int j = 0; j < n; j++) { if (i == j) continue; if (list[i][0] < list..
알고리즘/백준
2019. 12. 31. 17:05