【CCF历年题题解】201812-2 小明放学

周期循环,一般取模。过程有点繁琐,看看别人的

C ++ 中取正数模 (n % mod + n) % mod

题解

猜你喜欢

转载自blog.csdn.net/weixin_43154149/article/details/108013297