일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Sookmyung Information Security Study
- c
- 백준
- Python
- XSS Game
- hackerrank
- 풀이
- 드림핵
- BOJ
- HTML
- 자료구조 복습
- PHP 웹페이지 만들기
- CSS
- 생활코딩
- The Loard of BOF
- lob
- 웹페이지 만들기
- 숙명여자대학교 정보보안 동아리
- C언어
- Javascript
- WarGame
- siss
- 머신러닝
- 기계학습
- BOJ Python
- SWEA
- 파이썬
- hackctf
- 숙명여자대학교 정보보안동아리
- c++
- Today
- Total
목록분류 전체보기 (346)
혜랑'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
CODE #include using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); int n, sum = 0; string str; bool check; cin >> n; for(int i=0; i> str; for(int j=0; j
CODE #include using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); int sum = 0; string str; stack pipe; cin >> str; for(int i=0; i