c++ 2206 벽 부수고 이동하기 (백준)
#include #define Q q.front() using namespace std; struct A { A(int a, int b, int c, int d) : x(a), y(b), z(c), value(d) {} int x, y, z, value; }; int main(void) { ios::sync_with_stdio(0); cin.tie(0); int V[4] = {-1, 0, 1, 0}; int H[4] = {0, 1, 0, -1}; int n, m, min = 1e9; cin >> n >> m; if(n==1 && m==1) { cout map[i]; bool v0[n][m]; memset(v0, false, sizeof(bool)*n*m); bool v1[n][m]; memset(v1, ..
c++/BAEKJOON
2023. 10. 14. 10:33
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- BFS
- 누적 합
- 카드
- 최소 스패닝 트리
- java
- 플로이드
- 1835번
- union
- 6198번
- 스택
- 누적합
- DFS
- DP
- Krustal
- 그리디
- 오프라인 쿼리
- Mo.s
- 트리
- C++
- 세그먼트 트리
- 그래프
- find
- 6198
- 정렬
- 백준
- 덱
- 16120번
- 1835
- 최대공약수
- C언어
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함