일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- ERD
- PROJECT
- pm2
- MySQL
- Prisma
- DP
- 자바스크립트
- HTTP
- Next
- router
- string
- 백준 1918번
- Keys
- Github
- JavaScript
- 이분 탐색
- html5
- 그래프 탐색
- 트라이
- MongoDB
- 그리디
- branch
- insomnia
- Express.js
- localstorage
- trie
- ccw 알고리즘
- 게임 서버 아키텍처
- map
- vector insert
Archives
- Today
- Total
목록더 흔한 색칠 타일 문제 (1)
dh_0e

너무 간단한 그리디, 구현 문제 #includeusing namespace std;int n, m, k;char d[501][501];pair f(int y, int x) { int c, max=0; int vi[30] = { 0 }; for (int i = y; i pa=f(i, j); d[i][j] = pa.second; answer += (n/k)*(m/k) - pa.first; } } printf("%d\n", answer); for (int i = 0; i
알고리즘/Baekjoon
2024. 8. 23. 21:23