看不懂题

P1055 [NOIP2008 普及组] ISBN 号码

riki1230 @ 2023-04-17 19:36:39

哪位大佬能解释一下输入输出样例啊?

by riki1230 @ 2023-04-17 19:37:14

我压根看不懂

by haijun_ @ 2023-04-17 19:39:13

根据规则去计算,正确的isbn码输出right,错误的输出正确的


by haijun_ @ 2023-04-17 19:39:36

挺简单的我很轻松过了


by InversionShadow @ 2023-04-17 19:40:34

第二个题目有讲


by InversionShadow @ 2023-04-17 19:42:11

@yuanshanlishu

第一个样例: 067082162

(1\times0+2\times6+3\times7+4\times0+5\times8+6\times2+7\times1+8\times6+9\times2) \bmod 11 = 4 4=4

by riki1230 @ 2023-04-17 19:56:43

@haijun_ ok 这个我知道了 谢谢


by riki1230 @ 2023-04-17 19:58:13

@ydq1101 也就是说当前位数乘以当前数字的总和模11与验证码相等就对是吗?


by InversionShadow @ 2023-04-17 20:00:22

@yuanshanlishu 是的


by riki1230 @ 2023-04-17 20:01:54

@ydq1101 好的,谢谢您


by riki1230 @ 2023-04-17 20:02:15

感谢各位大佬


|