It is not necessary to clear the map.
Delete the `for(long long i=1;i<=ma;i++) m[i]=0;` and you can get Accepted.
by ksun48 @ 2023-08-16 15:06:03
@[liuyize549330](/user/947881) If you can, follow me.
by ksun48 @ 2023-08-16 15:06:48
@[ksun48](/user/822700)
thanks
by liuyize549330 @ 2023-08-16 15:47:32
@[ksun48](/user/822700) My English is not very good,I am just a junior high school student
by liuyize549330 @ 2023-08-16 16:06:35
What mean did you say???
by long_ji @ 2023-08-16 17:17:30
@[long_ji](/user/947857) ……
by Wangyuling1222 @ 2023-08-23 19:42:56
@[Wangyuling1222](/user/826095) 。。。
by long_ji @ 2023-08-23 19:43:19
@[long_ji](/user/947857) 英语是不是太差了一点?
by Wangyuling1222 @ 2023-08-23 19:47:44
啊?
by qiutong @ 2023-08-27 22:46:11
没有必要清除地图。
删除for(long long i=1;i<=ma;i++) m[i]=0;你就能AC
by A_chicken_boy @ 2023-08-31 16:32:44