摘要:
"题目链接" 这题出的有点nb,PKU: Pig Kingdom University , NOIP: National Olympics in Informatic of Pigs。。。 题意:求$G^{\sum_{d|n}C_n^d}mod\ 999911659$ 根据费马小定理的推论,题目可以 阅读全文
摘要:
其实这题可以直接二进制状压做,1表示黑棋,0表示白棋,另外记录下2个空点的位置就行了。 具体看代码(冗长): cpp include include include include include include include include include include include def 阅读全文