摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1698 In the game of DotA, Pudge’s meat hook is actually the most horrible thing for most of the heroes. 阅读全文
posted @ 2018-08-01 17:35 执||念 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 题目链接:https://vjudge.net/contest/237395#problem/A 学习博客:https://blog.csdn.net/lyy289065406/article/details/6647413 You have just moved from Waterloo to 阅读全文
posted @ 2018-08-01 14:16 执||念 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 题目链接:https://vjudge.net/contest/242578#problem/B Dasha decided to bake a big and tasty layer cake. In order to do that she went shopping and bought n 阅读全文
posted @ 2018-08-01 11:42 执||念 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 题目链接:https://vjudge.net/contest/239445#problem/H 题目大意:输入n,k,有n*n* n*n的网格,要求每行每列刚好有k个*,每n*n的小方格内也刚好有k个*。 思路:不是自己写出来的,大概思路就是从第一排开始放,放满k个,然后跳到下一行,在这行的基础上 阅读全文
posted @ 2018-07-31 10:46 执||念 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 题目链接:https://vjudge.net/contest/241341#problem/G Indonesia, as well as some neighboring Southeast Asian countries and some other East Asian countries, 阅读全文
posted @ 2018-07-30 19:18 执||念 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1325 Is It A Tree? Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Tota 阅读全文
posted @ 2018-07-30 18:16 执||念 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 算法学习:https://blog.csdn.net/qq_16234613/article/details/77431043 http://www.cnblogs.com/chenchengxun/p/4718698.html 题目链接:https://vjudge.net/contest/219 阅读全文
posted @ 2018-07-30 10:08 执||念 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 题目链接:https://vjudge.net/contest/241341#problem/I 题目大意:输入t,t组样例,输入n,m,有n个圆槽,m个硬币,接下来m行代表每个硬币所在的位子,要求你移动硬币使得相邻的硬币距离相等,输出最小的最大移动步数(这里所指的是 一个硬币最大移动的步数) 个人 阅读全文
posted @ 2018-07-29 17:33 执||念 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 题目链接:https://vjudge.net/contest/241341#problem/C Tree Land Kingdom is a prosperous and lively kingdom. It has N cities which are connected to each oth 阅读全文
posted @ 2018-07-29 11:14 执||念 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 题目链接:https://vjudge.net/contest/239445#problem/E E - Problem Statement You are given nn strings str1,str2,…,strnstr1,str2,…,strn , each consisting of 阅读全文
posted @ 2018-07-28 20:31 执||念 阅读(671) 评论(0) 推荐(0) 编辑