上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 18 下一页
摘要: 1407 - 郁闷的小J 小J是国家图书馆的一位图书管理员,他的工作是管理一个巨大的书架。虽然他很能吃苦耐劳,但是由于这个书架十分巨大,所以他的工作效率总是很低,以致他面临着被解雇的危险,这也正是他所郁闷的。 具体说来,书架由N个书位组成,编号从1到N。每个书位放着一本书,每本书有一个特定的编码。 ... 阅读全文
posted @ 2014-08-20 23:39 acvc 阅读(318) 评论(0) 推荐(0) 编辑
摘要: As another one of their crazy antics, the N (1 ≤ N ≤ 100,000) cows want Farmer John to race against the clock to answer some of their pressing questio... 阅读全文
posted @ 2014-08-20 16:19 acvc 阅读(279) 评论(0) 推荐(0) 编辑
摘要: 1#include2#include3#include4#include5#include6usingnamespacestd;7constintinf=0x3f3f3f3f;8constintMAX=200+10;9doubleGPA[10],dp1[20][30000],dp2[20][3000... 阅读全文
posted @ 2014-08-19 22:24 acvc 阅读(246) 评论(0) 推荐(0) 编辑
摘要: Another OCD PatientProblem DescriptionXiaoji is an OCD (obsessive-compulsive disorder) patient. This morning, his children played with plasticene. The... 阅读全文
posted @ 2014-08-19 22:18 acvc 阅读(441) 评论(0) 推荐(0) 编辑
摘要: 找不到题目了,试敲了一下感觉还是挺不错的,学习了下别人的代码,差不多能感受到他的强大。哈哈。sl :可以说算是超级水提了,只要清楚这个数据结构就知道了。 1#include2#include3#include4usingnamespacestd;5constintMAX=100000+10;6int... 阅读全文
posted @ 2014-08-17 17:50 acvc 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 1#include2#include3#include4#include5#defineN1000056usingnamespacestd;7structSBT{8//左子树指针,右子树指针,大小,键值9intleft,right,size,key;10voidInit(){11left=righ... 阅读全文
posted @ 2014-08-17 17:44 acvc 阅读(266) 评论(0) 推荐(0) 编辑
摘要: https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4441题意:有n个靶子,每个靶子有3个val,需要满足3钟情况分别得到他们的val。问最大的... 阅读全文
posted @ 2014-08-17 00:19 acvc 阅读(176) 评论(0) 推荐(0) 编辑
摘要: C. Petya and SpidersLittle Petya loves training spiders. Petya has a boardn × min size. Each cell of the board initially has a spider sitting on it. A... 阅读全文
posted @ 2014-08-17 00:10 acvc 阅读(208) 评论(0) 推荐(0) 编辑
摘要: E. Pashmak and GraphPashmak's homework is a problem about graphs. Although he always tries to do his homework completely, he can't solve this problem.... 阅读全文
posted @ 2014-08-16 11:08 acvc 阅读(153) 评论(0) 推荐(0) 编辑
摘要: D. Pashmak and Parmida's problemtime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputParmida is a cle... 阅读全文
posted @ 2014-08-16 11:00 acvc 阅读(169) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 18 下一页