
数学类
文章平均质量分 83
墨碎江南
这个作者很懒,什么都没留下…
展开
-
poj 3370 Halloween treats
Every year there is the same problem at Halloween: Each neighbour is only willing to give a certain total number of sweets on that day, no matter how many children call on him, so it may happen that a...原创 2018-03-18 19:32:58 · 156 阅读 · 0 评论 -
第13届景驰-埃森哲杯广东工业大学ACM程序设计大赛 F 等式(求因子个数)
链接:https://www.nowcoder.com/acm/contest/90/F来源:牛客网题目描述 给定n,求1/x + 1/y = 1/n (x<=y)的解数。(x、y、n均为正整数)输入描述:在第一行输入一个正整数T。 接下来有T行,每行输入一个正整数n,请求出符合该方程要求的解数。 (1<=n<=1e9)输出描述:输出符合该方程要求的解数。输入3 1 20180...原创 2018-03-26 15:15:25 · 249 阅读 · 0 评论 -
CodeForces - 546D Soldier and Number Game (素数打表)
Two soldiers are playing a game. At the beginning first of them chooses a positive integer n and gives it to the second soldier. Then the second one tries to make maximum possible number of rounds. Ea...原创 2018-04-20 08:59:55 · 185 阅读 · 0 评论