上一页 1 ··· 9 10 11 12 13
摘要: DescriptionAn array of size n ≤ 106 is given to you. There is a sliding window of size k which is moving from the very left of the array to the very r... 阅读全文
posted @ 2015-08-26 11:57 _Wilbert 阅读(129) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionIgnatius has just come back school from the 30th ACM/ICPC. Now he has a lot of homework to do. Every teacher gives him a deadline o... 阅读全文
posted @ 2015-08-23 20:06 _Wilbert 阅读(135) 评论(0) 推荐(0) 编辑
摘要: Problem Description AFA is a girl who like runing.Today,he download an app about runing .The app can record the trace of her runing.AFA will s... 阅读全文
posted @ 2015-08-22 18:20 _Wilbert 阅读(144) 评论(0) 推荐(0) 编辑
摘要: Problem Description ZJiaQ want to become a strong man, so he decided to play the mook jong。ZJiaQ want to put some mook jongs in his backyard. ... 阅读全文
posted @ 2015-08-22 18:14 _Wilbert 阅读(117) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionTina Town is a friendly place. People there care about each other.Tina has a ball called zball. Zball is magic. It grows larger eve... 阅读全文
posted @ 2015-08-22 17:36 _Wilbert 阅读(107) 评论(0) 推荐(0) 编辑
摘要: Description 给出N个数,求第a个数到第b个数之间最大的数减去最小的数的结果Input N(N小于100,000),M(M小于100,000) 接下来有N个数 接下来M组范围,所有数均在[0,231-1]内 每个范围有2个整数a,b(1using namespace std... 阅读全文
posted @ 2015-08-21 23:27 _Wilbert 阅读(78) 评论(0) 推荐(0) 编辑
摘要: Description 有n种不同大小的数字,每种各个。判断是否可以从这些数字之中选出若干使它们的和恰好为K。Input 首先是一个正整数T(1#include #include #include #include using namespace std;const int maxn... 阅读全文
posted @ 2015-08-21 23:17 _Wilbert 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Description 某国为了防御敌国的导弹袭击,发展出一种导弹拦截系统。但是这种导弹拦截系统有一个缺陷:虽然它的第一发炮弹能够到达任意的高度,但是以后每一发炮弹都不能高于前一发的高度。某天,雷达捕捉到敌国的导弹来袭。由于该系统还在试用阶段,所以只有一套系统,因此... 阅读全文
posted @ 2015-07-24 20:04 _Wilbert 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 快期末了却怎么也提不起劲来预习。想要看算法却怎么也没有心思去撸代码。今晚还有Bestcoder不知道rating还会掉到多少。明明还是弱渣却非要装作大神。最近感觉心好累。又胖了不少,需要去锻炼运动了,顺便释放释放自己莫名其妙的压力。下半年的打算:1.把DP弄得透彻。2.学好最短路径(dijkstra... 阅读全文
posted @ 2015-06-20 16:59 _Wilbert 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 镜像树Time Limit: 1000 ms Memory Limit: 64 MB Description 一棵二叉树,若其与自己的镜像完全相同,就称其为镜像树(即这棵二叉树关于根完全对称)。例如 1 / \ 2 2 / \ / ... 阅读全文
posted @ 2015-06-20 16:55 _Wilbert 阅读(128) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13