摘要: 题目 Musicians of a popular band "Flayer" have announced that they are going to "make their exit" with a world tour. Of course, they will visit Berland 阅读全文
posted @ 2020-05-27 20:19 YouXam 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 题目 小豆现在有一个数 \(x\) ,初始值为 $1$ 。 小豆有 \(Q\) 次操作,操作有两种类型: \(m\): \(x=x×m\),输出 \(x\mod M\) ; \(pos\): \(x=x/\) 第 \(pos\) 次操作所乘的数(保证第 \(pos\) 次操作一定为类型 $1$,对于 阅读全文
posted @ 2020-05-27 19:21 YouXam 阅读(118) 评论(0) 推荐(1) 编辑