
规律
文章平均质量分 58
Nelaris
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
CodeChef - MINSTR Minimize the string (规律题)
You are given n strings s1, s2, ..., sn. Each of these strings consists only of letters 'a' and 'b', and the length of each string can be at most 2. In other words, the only allowed strings are "a", "...原创 2018-04-16 19:34:14 · 622 阅读 · 0 评论 -
2018 Multi-University Training Contest 1 Maximum Multiple (HDU 6298)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=6298题意分析:求xyz在满足x+y+z=n并且x|n,y|n,z|n的情况下的最大值;设t=n/x,s=n/y,r=n/z所以x=n/t,y=n/s,z=n/r代入 x+y+z=n 中 同除n化简得1/t+1/s+1/r=1并且t,s,r都为整数该不定方程的整数解只有如下三...原创 2018-08-06 21:28:02 · 235 阅读 · 0 评论