摘要: 题目链接:传送门 Problem Description Before ACM can do anything, a budget must be prepared and the necessary f... 阅读全文
posted @ 2019-07-12 20:00 郑为中 阅读(112) 评论(0) 推荐(0)
摘要: 题目链接:传送门 Problem Description Nowadays, we all know that Computer College is the biggest department in ... 阅读全文
posted @ 2019-07-12 18:11 郑为中 阅读(122) 评论(0) 推荐(0)
摘要: 题目链接:传送门Sample Input2 1714 17Sample Output2,3 are closest, 7,11 are most distant.There are no adjacent pri... 阅读全文
posted @ 2019-07-11 21:58 郑为中 阅读(141) 评论(0) 推荐(0)
摘要: 题目链接:传送门感谢此大佬的博客:https://blog.csdn.net/codeswarrior/article/details/81263050 写的非常好!题意:给出公式Gcd(n)=gcd(C(n,1... 阅读全文
posted @ 2019-07-11 08:56 郑为中 阅读(115) 评论(0) 推荐(0)
摘要: 题目链接:传送门题意:输入N,M,K,第二行输入N个数字,假设第二行是A数组,那么从A数组中所有连续且长度大于等于M的子区间 的 第M大的数字,放入B数组(可重复),最后输出B数组中第K大的数字。样例:5 3 2... 阅读全文
posted @ 2019-07-10 09:31 郑为中 阅读(97) 评论(0) 推荐(0)
摘要: 题目链接:传送门DescriptionGiven N numbers, X1, X2, ... , XN, let us calculate the difference of every pair of num... 阅读全文
posted @ 2019-07-09 20:04 郑为中 阅读(88) 评论(0) 推荐(0)
摘要: 4 Values whose Sum is 0题目链接:传送门暑期集训第一弹:二分、三分、尺取DescriptionThe SUM problem can be formulated as follows: g... 阅读全文
posted @ 2019-07-09 17:38 郑为中 阅读(76) 评论(0) 推荐(0)
摘要: 2020年4月更新本系列的《基于eclipse的Android教程》,是我在刚开始接触安卓的时候,不知道使用哪个IDE,然后在某博客看到可以用eclipse,接着我就开始了摸索,写出了这个系列的文章。现在是21世... 阅读全文
posted @ 2019-06-29 19:42 郑为中 阅读(157) 评论(0) 推荐(0)
摘要: 2020年4月更新本系列的《基于eclipse的Android教程》,是我在刚开始接触安卓的时候,不知道使用哪个IDE,然后在某博客看到可以用eclipse,接着我就开始了摸索,写出了这个系列的文章。现在是21... 阅读全文
posted @ 2019-06-29 19:40 郑为中 阅读(212) 评论(0) 推荐(0)
摘要: 2020年4月更新本系列的《基于eclipse的Android教程》,是我在刚开始接触安卓的时候,不知道使用哪个IDE,然后在某博客看到可以用eclipse,接着我就开始了摸索,写出了这个系列的文章。现在是21... 阅读全文
posted @ 2019-06-29 19:38 郑为中 阅读(167) 评论(0) 推荐(0)