Home
MINJUN
Cancel

BOJ. Passionate Gang-Ho 2 (11376)

[Link] https://www.acmicpc.net/problem/11376 First method and Second method both works. But you might get TLE with second method because the number of candidates of previous matching(from[r_idx])...

BOJ. Passionate Gang-Ho (11375)

[Link] https://www.acmicpc.net/problem/11375 #include <algorithm> #include <iostream> #include <vector> #include <map> #include <set> #include <queue> #includ...

BOJ. Palindrome Is Not A Palindrome (15927)

[Link] https://www.acmicpc.net/problem/15927 #include <algorithm> #include <iostream> #include <vector> #include <map> #include <set> #include <queue> #includ...

BOJ. Allocating Cattle Shed (2188)

[Link] https://www.acmicpc.net/problem/2188 #include <algorithm> #include <iostream> #include <vector> #include <map> #include <set> #include <queue> #include...

BOJ. Round Trip From City To City (17412)

[Link] https://www.acmicpc.net/problem/17412 #include <algorithm> #include <iostream> #include <vector> #include <map> #include <set> #include <queue> #includ...

BOJ. Repeated Pattern (16229)

[Link] https://www.acmicpc.net/problem/16229 #include <algorithm> #include <iostream> #include <vector> #include <map> #include <set> #include <queue> #includ...

BOJ. String And Query (13713)

[Link] https://www.acmicpc.net/problem/13713 Getting Longest Common Suffix #include <algorithm> #include <iostream> #include <vector> #include <map> #include <set>...

AtCoder. ABC 238 D ABC Transform

[Link] https://atcoder.jp/contests/abc242/tasks/abc242_d #include <algorithm> #include <iostream> #include <vector> #include <map> #include <set> #include <queue&...

AtCoder. ABC 238 C 1111gal password

[Link] https://atcoder.jp/contests/abc242/tasks/abc242_c #include <algorithm> #include <iostream> #include <vector> #include <map> #include <set> #include <queue&...

BOJ. Report Problem No.15164 (16163)

[Link] https://www.acmicpc.net/problem/16163 #include <algorithm> #include <iostream> #include <vector> #include <map> #include <set> #include <queue> #includ...