1342c

【1342C】Yet Another Counting Problem(数论)

**题目大意:** 求有多少$x(1\le l\le x\le r\le 10^{18})$满足$(x\mod a)\mod b\neq(x\mod b)\mod a(1\le a,b\le 200)$,有$q(1\le q\le 500)$次询问。 *** 设答案为$f(l,r)$,考虑前缀和$f ......
数论 Counting Another Problem 1342C
共1篇  :1/1页 首页上一页1下一页尾页