Q

@qazsxc2

6593 상범 빌딩

C++
3 months ago
#include <iostream> #include <string> #include <queue> #include <algorithm> using namespace std; #define X first #define Y second //순서 중요! struct Pos {

5427 불

C++
3 months ago
#include <iostream> #include <string> #include <queue> #include <algorithm> using namespace std; #define X first #define Y second

2468 안전 영역

C++
3 months ago
#include <iostream> #include <string> #include <queue> #include <algorithm> #include <vector> using namespace std; #define X first #define Y second

2667 단지번호붙이기

C++
3 months ago
#include <iostream> #include <string> #include <queue> #include <algorithm> #include <vector> using namespace std; #define X first #define Y second

7569 토마토

C++
3 months ago
#include <iostream> #include <string> #include <queue> #include <algorithm> #include <vector> using namespace std; #define X first #define Y second struct Pos{

2583 영역 구하기

C++
3 months ago
#include <iostream> #include <string> #include <queue> #include <algorithm> #include <vector> using namespace std; #define X first #define Y second

10026 적록색약

C++
3 months ago
#include <iostream> #include <string> #include <queue> #include <algorithm> using namespace std; #define X first #define Y second string board[102];

7562 나이트의 이동

C++
3 months ago
#include <iostream> #include <string> #include <queue> #include <algorithm> using namespace std; #define X first #define Y second int dx[8] = {1, 2, 2, 1, -1, -2, -2, -1};

7562 나이트의 이동

C++
3 months ago
#include <iostream> #include <string> #include <queue> #include <algorithm> using namespace std; #define X first #define Y second

1697 숨바꼭질

C++
3 months ago
#include <iostream> #include <string> #include <queue> #include <algorithm> using namespace std; #define X first #define Y second int board[100002]; int dist[100002];

1697 숨바꼭질

C++
3 months ago
#include <iostream> #include <string> #include <queue> #include <algorithm> using namespace std; #define X first #define Y second int dist[100002];

4179 불!

C++
3 months ago
#include <iostream> #include <string> #include <queue> #include <algorithm> using namespace std; #define X first #define Y second string board[1002]; int dist_j[1002][1002];

7576 토마토

C++
3 months ago
#include <iostream> #include <string> #include <queue> #include <algorithm> using namespace std; #define X first #define Y second int board[1002][1002]; int day[1002][1002];

7576 토마토

C++
3 months ago
#include <iostream> #include <string> #include <queue> #include <algorithm> using namespace std; #define X first #define Y second int board[1002][1002];

2178 미로 탐색

C++
3 months ago
#include <iostream> #include <string> #include <queue> #include <algorithm> using namespace std; #define X first #define Y second string borad[102];

1926 그림

C++
3 months ago
#include <iostream> #include <string> #include <queue> #include <algorithm> using namespace std; #define X first #define Y second int borad[502][502]={0};

BFS 기본틀

C++
3 months ago
#include <iostream> #include <string> #include <stack> #include <algorithm> using namespace std; #define X first #definr Y second int borad[502][502]={0}; bool vis[502][502];

2504 괄호의 값

C++
3 months ago
#include <iostream> #include <string> #include <stack> #include <algorithm> using namespace std; int main() { ios::sync_with_stdio(0); cin.tie(0);

10799 쇠막대기

C++
3 months ago
#include <iostream> #include <string> #include <stack> #include <algorithm> using namespace std; int main() { ios::sync_with_stdio(0); cin.tie(0);

4949

C++
3 months ago
#include <iostream> #include <string> #include <stack> #include <algorithm> using namespace std; int main() {