随笔分类 - 数论——CRT 扩展CRT
摘要:"题目链接 LOJ" "洛谷" ~~rank前3无压力(话说rank1特判打表有意思么)~~ 对于每条龙可以求一个满足条件的,然后得到其通解。 怎么合并所有龙的通解?可以直接写成 $Ans
阅读全文
摘要:一道看过的模板题还写了半个小时。。
阅读全文
摘要:"题目链接" 扩展中国剩余定理: "1(直观的)" 、 "2(详细证明)" 。 [Upd:] https://www.luogu.org/problemnew/solution/P4774 cpp include include define gc() getchar() typedef long
阅读全文
摘要:"题目链接" 颓了一天 写个模板吧。。 Chinese_Remainder_Theorem: "MashiroSky" 、 "远航之曲" cpp include include define gc() getchar() typedef long long LL; const int N=13; L
阅读全文