上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 19 下一页
摘要: In the traditional RMQ (Range Minimum Query) problem, we have a static array A. Then for each query (L, R) (L<=R), we report the minimum value among A 阅读全文
posted @ 2017-08-11 19:59 Pretty9 阅读(353) 评论(0) 推荐(0) 编辑
摘要: Til the Cows Come HomeTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 57202 Accepted: 19436DescriptionBessie is out in the field and wants t... 阅读全文
posted @ 2017-08-10 19:52 Pretty9 阅读(125) 评论(0) 推荐(0) 编辑
摘要: One day , Kiki wants to visit one of her friends. As she is liable to carsickness , she wants to arrive at her friend’s home as soon as possible . Now... 阅读全文
posted @ 2017-08-10 18:31 Pretty9 阅读(217) 评论(0) 推荐(0) 编辑
摘要: Problem 2275 Game Accept: 159 Submit: 539 Time Limit: 1000 mSec Memory Limit : 262144 KB Accept: 159 Submit: 539 Time Limit: 1000 mSec Memory Limit : 阅读全文
posted @ 2017-08-10 16:52 Pretty9 阅读(376) 评论(0) 推荐(0) 编辑
摘要: Problem 2273 Triangles Accept: 109 Submit: 360 Time Limit: 1000 mSec Memory Limit : 262144 KB Accept: 109 Submit: 360 Time Limit: 1000 mSec Memory Lim 阅读全文
posted @ 2017-08-10 16:44 Pretty9 阅读(142) 评论(0) 推荐(0) 编辑
摘要: In this problem, a dictionary is collection of key-value pairs, where keys are lower-case letters, and values are non-negative integers. Given an old 阅读全文
posted @ 2017-08-10 15:42 Pretty9 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 题目:今天,又来了n位志愿者,指挥部需要将他们分为若干个小组,小组的数量不限,但是要求每个小组的人数必须为素数,请问我们有几种分组的方法呢?特别说明:1、可以只有一个组;2、分组的方法只和人数有关,而与具体的人员无关,即:你可以假设人是无区别的。DP 阅读全文
posted @ 2017-08-10 11:11 Pretty9 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 大学英语四级考试就要来临了,你是不是在紧张的复习?也许紧张得连短学期的ACM都没工夫练习了,反正我知道的Kiki和Cici都是如此。当然,作为在考场浸润了十几载的当代大学生,Kiki和Cici更懂得考前的放松,所谓“张弛有道”就是这个意思。这不,Kiki和Cici在每天晚上休息之前都要玩一会儿扑克牌... 阅读全文
posted @ 2017-08-10 10:45 Pretty9 阅读(194) 评论(0) 推荐(0) 编辑
摘要: Bobo has a balanced parenthesis sequence P=p 1 p 2…p n of length n and q questions. Bobo has a balanced parenthesis sequence P=p 1 p 2…p n of length n 阅读全文
posted @ 2017-08-10 10:03 Pretty9 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 题意: 有一只可爱的不得了的小狗狗,迷上了一根小骨头,当它叼起了小骨头的时候却发现这是一个陷阱,小骨头就这样背叛了它(咳咳咳),然后它踩着的地面下一秒就会下沉,所以不能在一块地面停留超过一秒钟,倒霉的是,这个迷宫的大门只会在规定的时间内打开不超过1分钟,所以小狗必须在规定时间内到达大门才能逃出迷宫。... 阅读全文
posted @ 2017-08-09 15:30 Pretty9 阅读(148) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 19 下一页