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
- sw expert academy
- 삼성
- 백준
- PyQt
- D4
- 완전탐색
- 직무면접
- swexpertacademy
- 쉬운 알고리즘 문제
- 코테
- English
- the midnight library
- 알고리즘 문제
- 원서읽기
- SQL
- 코딩테스트
- BFS
- 코테 준비
- 원서읽자
- 알고리즘
- 코테 대비
- sw expert
- readingbook
- STUDYENGLISH
- dfs
- englishbook
- nightroutine
- 원서
- 프로그래머스
- MySQL
Archives
- Today
- Total
목록8191 (1)
시나브로
[D5] 8191. 만화책 정렬하기
#include int main() { int test_case = 0; scanf("%d", &test_case); char buffer = 0; scanf("%c", &buffer); for (int q = 0; q < test_case; q++) { int test_amount = 0; scanf("%d", &test_amount); int box = 0; int m[200002] = { 0 }; int memory_point = 0; for (int i = 0; i < test_amount; i++) { scanf("%d", &box); if (m[box-1] == 1) { m[box] = 1; } else { m[box] = 1; memory_point++; } } printf("#%d %d\n..
알고리즘/SW Expert Academy
2019. 10. 6. 11:10