[Link] https://www.acmicpc.net/problem/17144 #include <algorithm> #include <iostream> #include <vector> #include <map> // #include <bits/stdc++.h> using namespace s...
BOJ. Word Math (1339)
[Link] https://www.acmicpc.net/problem/1339 #include <algorithm> #include <iostream> #include <vector> #include <map> // #include <bits/stdc++.h> using namespace st...
BOJ. Control Robot (2169)
[Link] https://www.acmicpc.net/problem/2169 Point: Have to initialize left_dp[0] to -INF #include <algorithm> #include <iostream> #include <vector> // #include <bits/std...
BOJ. Inspect (15683)
[Link] https://www.acmicpc.net/problem/15683 #include <algorithm> #include <iostream> #include <vector> // #include <bits/stdc++.h> using namespace std; #define for0(i, n...
BOJ. Populatoin Migration (16234)
[Link] https://www.acmicpc.net/problem/16234 #include <algorithm> #include <iostream> #include <vector> // #include <bits/stdc++.h> using namespace std; #define for0(i, n...
BOJ. Marble Escape 2 (13460)
[Link] https://www.acmicpc.net/problem/13460 #include <bits/stdc++.h> using namespace std; int n, m, maxv; const int INF = 987654321; int gi, gj, ans = INF; bool bmap[20][20]; int di[4] = ...
BOJ. Tetromino (14500)
[Link] https://www.acmicpc.net/problem/14500 Express block with DFS of length 4 #include <algorithm> #include <iostream> #include <vector> using namespace std; typedef long lo...
BOJ. Snake (3190)
[Link] https://www.acmicpc.net/problem/3190 #include <algorithm> #include <iostream> #include <vector> #include <queue> // #include<bits/stdc++.h> using namespace s...
BOJ. Robot Vaccum Cleaner (14503)
[Link] https://www.acmicpc.net/problem/14503 #include <algorithm> #include <iostream> #include <vector> #include <queue> #include <set> using namespace std; typedef...
BOJ. Roll The Dice (14499)
[Link] https://www.acmicpc.net/problem/14499 #include <algorithm> #include <iostream> #include <vector> #include <queue> // #include<bits/stdc++.h> using namespace ...