摘要:
跳跃忍者时间限制: 1 Sec 内存限制: 128 MB提交: 7 解决: 5[提交][状态][讨论版][命题人:外部导入]题目描述 跳跃忍者很能跳,因此他很嘚瑟。他每次跳需要消耗能量,每跳1米... 阅读全文
posted @ 2018-05-08 16:59
蔡军帅
阅读(177)
评论(0)
推荐(0)
摘要:
跳跃忍者 题目描述 跳跃忍者很能跳,因此他很嘚瑟。他每次跳需要消耗能量,每跳1米就会消耗1点能量,如果他有很多能量就能跳很高。 他为了收集能量,来到了一个神秘的地方,这个地方凡人是进不来的。在这里,他的正上方每100米处就有一个能量球(也就是这些能量球位于海拔100,200,300……米处),每个能 阅读全文
posted @ 2018-05-08 16:59
蔡军帅
阅读(269)
评论(0)
推荐(0)
摘要:
友好城市 题目描述 Palmis国有一条横贯东西的大河,何有笔直的南北两岸,岸上各有位置各不相同的N个城市。北岸的每个城市有且仅有一个友好城市在南岸,而且不同城市的友好城市不相同。 每对友好城市都向政府申请在河上开辟一条直线航道连接两个城市,但是由于河上雾太大,政府决定避免任意两条航道交叉,以避免事 阅读全文
posted @ 2018-05-08 16:14
蔡军帅
阅读(193)
评论(0)
推荐(0)
摘要:
友好城市时间限制: 1 Sec 内存限制: 128 MB提交: 28 解决: 13[提交][状态][讨论版][命题人:外部导入]题目描述 Palmis国有一条横贯东西的大河,何有笔直的南北两岸,... 阅读全文
posted @ 2018-05-08 16:14
蔡军帅
阅读(122)
评论(0)
推荐(0)
摘要:
挖地雷时间限制: 1 Sec 内存限制: 128 MB提交: 9 解决: 8[提交][状态][讨论版][命题人:外部导入]题目描述 在一个地图上有N个地窖(N#include#include... 阅读全文
posted @ 2018-05-08 15:55
蔡军帅
阅读(157)
评论(0)
推荐(0)
摘要:
挖地雷 题目描述 在一个地图上有N个地窖(N<=200),每个地窖中埋有一定数量的地雷。同时,给出地窖之间的连接路径,并规定路径都是单向的,也不存在可以从一个地窖出发经过若干地窖后又回到原来地窖的路径。某人可以从任一处开始挖地雷,然后沿着指出的连接往下挖(仅能选择一条路径),当无连接时挖地雷工作结束 阅读全文
posted @ 2018-05-08 15:55
蔡军帅
阅读(273)
评论(0)
推荐(0)
摘要:
最长上升子序列 时间限制: 10 Sec 内存限制:128 MB 题目描述 给定一个序列,初始为空。现在我们将1到N的数字插入到序列中,每次将一个数字插入到一个特定的位置。我们想知道此时最长上升子序列长度是多少? 输入 第一行一个整数N,表示我们要将1到N插入序列中,接下是N个数字,第k个数字Xk, 阅读全文
posted @ 2018-05-08 14:31
蔡军帅
阅读(627)
评论(0)
推荐(0)
摘要:
最长上升子序列时间限制: 10 Sec 内存限制:128 MB题目描述给定一个序列,初始为空。现在我们将1到N的数字插入到序列中,每次将一个数字插入到一个特定的位置。我们想知道此时最长上升子序列长度是... 阅读全文
posted @ 2018-05-08 14:31
蔡军帅
阅读(493)
评论(1)
推荐(0)
摘要:
LISTime Limit: 1 Second Memory Limit: 65536 KB Special JudgeDreamGrid is learning the LIS (L... 阅读全文
posted @ 2018-05-08 13:22
蔡军帅
阅读(111)
评论(0)
推荐(1)
摘要:
DreamGrid is learning the LIS (Longest Increasing Subsequence) problem and he needs to find the longest increasing subsequence of a given sequence of 阅读全文
posted @ 2018-05-08 13:22
蔡军帅
阅读(431)
评论(0)
推荐(0)
摘要:
DreamGrid has integers . DreamGrid also has queries, and each time he would like to know the value of for a given number , where , . Input There are m 阅读全文
posted @ 2018-05-08 13:20
蔡军帅
阅读(192)
评论(0)
推荐(0)
摘要:
Now Loading!!!Time Limit: 1 Second Memory Limit: 131072 KBDreamGrid has integers . DreamGrid als... 阅读全文
posted @ 2018-05-08 13:20
蔡军帅
阅读(128)
评论(0)
推荐(0)
摘要:
Sequence SwappingTime Limit: 1 Second Memory Limit: 65536 KBBaoBao has just found a strange seque... 阅读全文
posted @ 2018-05-08 13:19
蔡军帅
阅读(148)
评论(0)
推荐(1)
摘要:
BaoBao has just found a strange sequence {<, >, <, >, , <, >} of length in his pocket. As you can see, each element <, > in the sequence is an ordered 阅读全文
posted @ 2018-05-08 13:19
蔡军帅
阅读(234)
评论(0)
推荐(0)
摘要:
A - Beauty of Trees 题意: 链接:https://www.nowcoder.com/acm/contest/119/A来源:牛客网 Beauty of Trees Beauty of Trees 时间限制:C/C++ 2秒,其他语言4秒 空间限制:C/C++ 131072K,其他 阅读全文
posted @ 2018-05-08 13:17
蔡军帅
阅读(178)
评论(0)
推荐(0)
摘要:
A - Beauty of Trees 题意: 链接:https://www.nowcoder.com/acm/contest/119/A来源:牛客网Beauty of Trees时间限制:C/C++ 2... 阅读全文
posted @ 2018-05-08 13:17
蔡军帅
阅读(108)
评论(0)
推荐(0)
摘要:
【图论01】最短路Start Time : 2018-01-02 12:45:00 End Time : 2018-01-23 12:45:00Contest Status : RunningCur... 阅读全文
posted @ 2018-05-08 13:15
蔡军帅
阅读(157)
评论(0)
推荐(0)
摘要:
【图论01】最短路 Start Time : 2018-01-02 12:45:00 End Time : 2018-01-23 12:45:00 Contest Status : Running Current System Time : 2018-01-12 14:39:34 Solved Pr 阅读全文
posted @ 2018-05-08 13:15
蔡军帅
阅读(154)
评论(0)
推荐(1)
浙公网安备 33010602011771号