摘要: Dungeon Master Description You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or m 阅读全文
posted @ 2017-07-15 19:02 thges 阅读(169) 评论(0) 推荐(0) 编辑
摘要: n的约数个数 题目:t次询问,每次给你一个数n,求在[1,n]内约数个数最多的数的约数个数 数据:对于100%的数据,t <= 500 , 1 <= n <= 1000000000000000000 思路:对前20个质数搜索,质数指数依次递减。 n的约数个数 题目:t次询问,每次给你一个数n,求在[ 阅读全文
posted @ 2017-07-15 16:31 thges 阅读(268) 评论(0) 推荐(0) 编辑