摘要: C++中,对负数取模的结果为负数,需要特殊写取模函数 LL Mod(LL num,LL mod) { return (num%mod+mod)%mod; } View Code 阅读全文
posted @ 2022-06-22 08:47 80k 阅读(337) 评论(0) 推荐(0)