Mo's Algorithm

#340 Div2 E번 문제에 나왔습니다.
http://codeforces.com/blog/entry/7383
http://blog.anudeep2011.com/mos-algorithm/
Mo's algorithm?  공부합시다.

http://codeforces.com/contest/617/problem/E

http://codeforces.com/contest/86/problem/D
http://codeforces.com/contest/86/submission/15905761

http://www.spoj.com/problems/DQUERY/
http://ideone.com/OLG0dB

http://codeforces.com/blog/entry/23005

댓글

이 블로그의 인기 게시물

BOJ 11478 - 서로 다른 부분 문자열의 개수

repeated squaring