摘要:
链接:https://ac.nowcoder.com/acm/contest/317/B来源:牛客网 题目描述小a非常喜欢204204这个数字,因为′a′+′k′=204′a′+′k′=204。现在他有一个长度为... 阅读全文
摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1754题目: I Hate ItTime L... 阅读全文
摘要:
传送门:http://codeforces.com/contest/1047/problem/C题意:给出n个数字,求最少删除几个数可以使剩下的数字的GCD大于n个数字的GCD思路:最开始想的是先遍历求N个数的G... 阅读全文
摘要:
题目链接:http://poj.org/problem?id=1064Cable masterTime Limit: 1000MS Memory Limit: 10000K Total Submis... 阅读全文
摘要:
传送门:http://acm.hdu.edu.cn/showproblem.php?pid=1257 最少拦截系统Ti... 阅读全文
摘要:
题目链接:http://codeforces.com/problemset/problem/1096/D题意:有一长度为n的字符串,每一字符都有一个权值,要求现在从中取出若干个字符,使得字符串中没有子串hard,... 阅读全文
摘要:
题目连接:http://codeforces.com/problemset/problem/1095/C题目:C. Powers Of Twotime limit per test4 secondsmemory ... 阅读全文
摘要:
PacketsDescriptionA factory produces products packed in square packets of the same height h and of the siz... 阅读全文