摘要: 链接:https://ac.nowcoder.com/acm/contest/317/B来源:牛客网 题目描述小a非常喜欢204204这个数字,因为′a′+′k′=204′a′+′k′=204。现在他有一个长度为... 阅读全文
posted @ 2019-02-22 14:13 是妖妖灵鸭 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1754题目: I Hate ItTime L... 阅读全文
posted @ 2019-02-19 15:40 是妖妖灵鸭 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 传送门:http://codeforces.com/contest/1047/problem/C题意:给出n个数字,求最少删除几个数可以使剩下的数字的GCD大于n个数字的GCD思路:最开始想的是先遍历求N个数的G... 阅读全文
posted @ 2019-01-27 19:54 是妖妖灵鸭 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://poj.org/problem?id=1064Cable masterTime Limit: 1000MS Memory Limit: 10000K Total Submis... 阅读全文
posted @ 2019-01-21 12:33 是妖妖灵鸭 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 传送门:http://acm.hdu.edu.cn/showproblem.php?pid=1257 最少拦截系统Ti... 阅读全文
posted @ 2019-01-20 16:16 是妖妖灵鸭 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://codeforces.com/problemset/problem/1096/D题意:有一长度为n的字符串,每一字符都有一个权值,要求现在从中取出若干个字符,使得字符串中没有子串hard,... 阅读全文
posted @ 2019-01-19 19:17 是妖妖灵鸭 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 题目连接:http://codeforces.com/problemset/problem/1095/C题目:C. Powers Of Twotime limit per test4 secondsmemory ... 阅读全文
posted @ 2019-01-18 21:21 是妖妖灵鸭 阅读(162) 评论(0) 推荐(0) 编辑
摘要: PacketsDescriptionA factory produces products packed in square packets of the same height h and of the siz... 阅读全文
posted @ 2019-01-16 22:10 是妖妖灵鸭 阅读(82) 评论(0) 推荐(0) 编辑
摘要: POJ 3273 Monthly Expense二分查找(最大值最小化问题)题目:Monthly ExpenseDescriptionFarmer John is an astounding accounting... 阅读全文
posted @ 2019-01-14 20:30 是妖妖灵鸭 阅读(93) 评论(0) 推荐(0) 编辑
摘要: HDU 2037 今年暑假不AC[贪心] 题目: 今年暑假不AC Problem Description “今年暑假不AC?” “是的。” “那你干什么呢?” “看世界杯呀,笨蛋!” “@#$%^&*%...” 确实如此,世界杯来了,球迷的节日也来了,估计很多ACMer也会抛开电脑,奔向电视了。 作 阅读全文
posted @ 2019-01-14 19:52 是妖妖灵鸭 阅读(97) 评论(0) 推荐(0) 编辑