摘要: https://atcoder.jp/contests/abc222/tasks/abc222_g 就是扩展BSGS的应用,$22.....222$可以看成$2 * 11.....111$,然后就是$2 * (100....0000 - 1) / 9 % k = 0$ //222....222 % 阅读全文
posted @ 2021-10-11 11:13 wlhp 阅读(128) 评论(0) 推荐(0)