@[sunyuchen1](/user/754119)
1. string 下标从 $0$ 开始。
2. $a,b$ 应初始化成 $1$,而不是 $0$。
by xiaoshumiao @ 2024-01-20 12:22:47
@[xiaoshumiao](/user/1008513)
感谢,已过
[https://www.luogu.com.cn/record/143683841](https://www.luogu.com.cn/record/143683841)
by sunyuchen1 @ 2024-01-21 16:11:57
@[xiaoshumiao](/user/1008513) 我提一个问题,为什么要初始化为1?是因为取模的关系吗?
by HuangZiYan11 @ 2024-02-01 17:44:39
@[HuangZiYan11](/user/857437) 你一个一个乘上数不赋成 1 赋成什么。
by xiaoshumiao @ 2024-02-01 17:46:19
@[xiaoshumiao](/user/1008513) 谢谢,我在做的时候也遇到了同样的问题
by HuangZiYan11 @ 2024-02-02 20:36:41