上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 59 下一页
摘要: Buy Tickets Time Limit: 4000MS Memory Limit: 65536K Total Submissions: 26443 Accepted: 12639 Description Railway tickets were difficult to buy around 阅读全文
posted @ 2019-07-29 15:44 知道了呀~ 阅读(311) 评论(0) 推荐(0)
摘要: 线段树它是一棵高度平衡的二叉树,很多二叉树的性质它是完美继承的 我们来看一道题: HDU1166敌兵布阵 这道题如果用常规暴力的做法,就把所有营地的士兵存在一个数组里面,然后对于每次操作直接更新对应位置的数,对于每次询问直接从i到j加起来。然而这么操作下来,对于极限数据50000个人,40000条命 阅读全文
posted @ 2019-07-28 21:26 知道了呀~ 阅读(662) 评论(0) 推荐(0)
摘要: E.Easy Climb Somewhere in the neighborhood we have a very nice mountain that gives a splendid view over the surrounding area. There is one problem tho 阅读全文
posted @ 2019-07-28 17:16 知道了呀~ 阅读(341) 评论(0) 推荐(0)
摘要: 我们从最简单的问题开始: 给定一个长度为N的整数数列a(i),i=0,1,...,N-1和窗长度k. 要求: f(i) = max{a(i-k+1),a(i-k+2),..., a(i)},i = 0,1,...,N-1 问题的另一种描述就是用一个长度为k的窗在整数数列上移动,求窗里面所包含的数的最 阅读全文
posted @ 2019-07-28 10:14 知道了呀~ 阅读(394) 评论(0) 推荐(0)
摘要: Feel Good Time Limit: 3000MS Memory Limit: 65536KTotal Submissions: 11626 Accepted: 3212Case Time Limit: 1000MS Special JudgeDescriptionBill is develo 阅读全文
posted @ 2019-07-27 15:27 知道了呀~ 阅读(306) 评论(0) 推荐(0)
摘要: 链接:https://vjudge.net/problem/UVA-1363 题意:给出n k,当 i 属于 1~n 时 ,求解 n% i 的和 n 和 k 的范围都是 1 到 10^9; 商相同 的余数数列 是 公差为商 的 递减等差数列 应该让k / i相等的一连串k % i相加,举个例子: 1 阅读全文
posted @ 2019-07-26 21:16 知道了呀~ 阅读(413) 评论(0) 推荐(0)
摘要: Ignatius and the Princess IV Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32767 K (Java/Others)Total Submission(s): 50812 Accepted Submi 阅读全文
posted @ 2019-07-25 17:25 知道了呀~ 阅读(189) 评论(0) 推荐(0)
摘要: Ignatius and the Princess II Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 12948 Accepted Submi 阅读全文
posted @ 2019-07-25 17:23 知道了呀~ 阅读(269) 评论(0) 推荐(0)
摘要: Problem C Updating a Dictionary In this problem, a dictionary is collection of key-value pairs, where keys are lower-case letters, and values are non- 阅读全文
posted @ 2019-07-25 11:45 知道了呀~ 阅读(303) 评论(0) 推荐(0)
摘要: {A} + {B} Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 33500 Accepted Submission(s): 13448 Pr 阅读全文
posted @ 2019-07-24 22:45 知道了呀~ 阅读(296) 评论(0) 推荐(0)
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 59 下一页