일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- hackctf
- 백준
- WarGame
- Sookmyung Information Security Study
- Python
- Javascript
- 웹페이지 만들기
- c++
- 숙명여자대학교 정보보안동아리
- lob
- 기계학습
- PHP 웹페이지 만들기
- 풀이
- HTML
- XSS Game
- c
- 생활코딩
- hackerrank
- 숙명여자대학교 정보보안 동아리
- BOJ Python
- 머신러닝
- 파이썬
- 드림핵
- BOJ
- SWEA
- The Loard of BOF
- CSS
- siss
- C언어
- 자료구조 복습
- Today
- Total
목록2022/10 (5)
혜랑's STORY

CODE #include using namespace std; #define X first #define Y second int tc, l, result; int dist[305][305]; int dx[8] = {1, 2, -1, -2, 1, 2, -1, -2}; int dy[8] = {2, 1, 2, 1, -2, -1, -2, -1}; int main() { ios_base::sync_with_stdio(0); cin.tie(0); cin >> tc; while(tc--){ bool flag = false; pair start, done; queue q; memset(dist, -1, sizeof(dist)); cin >> l; cin >> start.X >> start.Y; cin >> done.X..

CODE #include using namespace std; #define X first #define Y second int tc, w, h; string board[1002]; int dist[1002][1002]; int fire_dist[1002][1002]; int dx[4] = {1, 0, 0, -1}; int dy[4] = {0, 1, -1, 0}; int main() { ios_base::sync_with_stdio(0); cin.tie(0); cin >> tc; while(tc--){ queue fire; queue q; bool flag = false; memset(dist, -1, sizeof(dist)); memset(fire_dist, -1, sizeof(fire_dist)); ..

CODE #include using namespace std; int board[102][102][102]; int dist[102][102][102]; int n, m, h, day; int dx[6] = {1, 0, 0, -1, 0, 0}; int dy[6] = {0, 1, 0, 0, -1, 0}; int dz[6] = {0, 0, 1, 0, 0, -1}; int main() { ios_base::sync_with_stdio(0); cin.tie(0); cin >> m >> n >> h; queue q; for(int k=0; k= n || ny = m || nz = h) continue; if(dist[nx][ny][nz] >= 0) continue; dist..

CODE #include using namespace std; #define X first #define Y second int board[1002][1002]; int dist[1002][1002]; int n, m, day; int dx[4] = {1, 0, -1, 0}; int dy[4] = {0, 1, 0, -1}; int main() { ios_base::sync_with_stdio(0); cin.tie(0); cin >> m >> n; queue q; for(int i=0; i board[i][j]; if (board[i][j] == 1) q.push({i, j}); if (board[i][j] == 0) dist[i][j] = -1; } } while(!q.empty()){ pair cur ..

CODE #include using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); int n, rgb, rg; int dx[4] = {1, 0, -1, 0}; int dy[4] = {0, 1, 0, -1}; string board[102]; int visit1[102][102] = {0, }; int visit2[102][102] = {0, }; cin >> n; for(int i=0; i> board[i]; rgb = 0; for(int i=0; i