摘要: 分析:对于每个数,找到欧拉函数值大于它的,且标号最小的,预处理欧拉函数,然后按值建线段树就可以了 #include <iostream> #include <stdio.h> #include <string.h> #include <algorithm> #include <cmath> #inc 阅读全文
posted @ 2016-04-10 11:18 shuguangzw 阅读(209) 评论(0) 推荐(0)