版本比较
uoj#199 题解 - 【CTSC2016】萨菲克斯·阿瑞
正文
增加 1 行删除 1 行
134 行未改动全部展开13513613713813913914014114214343 行未改动134 行未改动全部展开const int p = 1000000007;struct Z{ int x; Z(int x0=0):x(x0){}}; };int inline check(int x){return x>=p?x-p:x;}Z operator +(const Z a,const Z b){return check(a.x+b.x);}Z operator -(const Z a,const Z b){return check(a.x-b.x+p);}Z operator *(const Z a,const Z b){return 1LL*a.x*b.x%p;}43 行未改动