摘要: 1.对于取模而言,可以重新写add,sub,mul函数以避免忘取模 int add(int a,int b){ return a+b < mod ? a+b : a+b-mod;} int sub(int a,int b){ return a<b ? a+mod-b : a-b;} int mul( 阅读全文
posted @ 2025-08-27 16:53 lrj3247 阅读(10) 评论(0) 推荐(1)