很好的讲解:ZigZagK 好的讲解:mjtcn 某个模板:here 模板题: BSGS:ZigZagK的poj2417
exBSGS:ZigZagK的poj3243 — AC_Gibson
一般的板子过不了这个题!GYM101853G:here exLucas:here