반응형
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 |
Tags
- 문자열
- 가천대
- 알고리즘
- HTTP
- 프로그래머스 레벨 2
- 크롤링
- 수학
- 레벨 1
- Node.js
- typescript
- javascript
- BFS
- 그래프
- 타입 챌린지
- dp
- 백준
- 자바스크립트
- 쉬운 문제
- dfs
- socket
- Nestjs
- 프로그래머스
- Crawling
- Algorithm
- 타입스크립트
- ip
- 소켓
- HTTP 완벽 가이드
- TCP
- type challenge
Archives
- Today
- Total
목록백준 10773번 (1)
kakasoo

문제가, 솔직히 알고리즘이라고 하기도 애매한 것들 (정의로는 물론 다 알고리즘이겠지만), 그런 것들은 그냥 다 분류를 '수학'이라고 해버리는 감이... 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 32 33 34 35 #include using namespace std; int arr[100000]; int main(void) { int n; cin >> n; for (int i = 0; i > temp; if (temp == 0) { i--; arr[i] = 0; i--; n--; n--; } else { arr[i] = temp; } } int sum = 0; for (int i = 0; i
프로그래밍/알고리즘 풀이
2020. 3. 4. 13:31