zhber
有好多做过的题没写下来,如果我还能记得就补吧
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 34 下一页
摘要: DescriptionAir Bovinia is planning to connect the N farms (1 3, and from 1->2. Sample Output224OUTPUT DETAILS: The trip from 3->2 has only one possibl... 阅读全文
posted @ 2015-09-28 22:54 zhber 阅读(291) 评论(0) 推荐(0) 编辑
摘要: DescriptionBessie and her sister Elsie want to travel from the barn to their favorite field, such that they leave at exactly the same time from the ba... 阅读全文
posted @ 2015-09-28 22:49 zhber 阅读(250) 评论(0) 推荐(0) 编辑
摘要: DescriptionFarmer John has N cows that need to be milked (1 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 priority_queue q; 8 ... 阅读全文
posted @ 2015-09-28 22:45 zhber 阅读(186) 评论(0) 推荐(0) 编辑
摘要: Three companies decided to order a billboard with pictures of their logos. A billboard is a bigsquareboard. A logo of each company is a rectangle of a... 阅读全文
posted @ 2015-09-28 22:36 zhber 阅读(947) 评论(0) 推荐(0) 编辑
摘要: Petya loves computer games. Finally a game that he's been waiting for so long came out!The main character of this game hasndifferent skills, each of w... 阅读全文
posted @ 2015-09-28 22:31 zhber 阅读(375) 评论(0) 推荐(0) 编辑
摘要: The capital of Berland hasnmultifloor buildings. The architect who built up the capital was very creative, so all the houses were built in one row.Let... 阅读全文
posted @ 2015-09-28 22:26 zhber 阅读(233) 评论(0) 推荐(0) 编辑
摘要: One day Vasya the Hipster decided to count how many socks he had. It turned out that he hadared socks andbblue socks.According to the latest fashion, ... 阅读全文
posted @ 2015-09-28 22:24 zhber 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Description 无双大王hzwer扫清六合,席卷八荒,万姓倾心,四方仰德。 hzwer拥有一片领土,其中有n个城市和m条双向道路。他规定每个人在领土上行走都要交过路费,同时进城也要交进城费。不同道路的过路费可能不同,不同城市的进城费可能不同。但是hzwer规定,如果缴纳x的进城费, 阅读全文
posted @ 2015-09-11 22:48 zhber 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Description hzwer真的很会玩啊…他有一个n*m的方格,每次可以给方格添加一整行或一整列,但是不能删除。现在他想要让总格子数超过k个,但是又想让总格子数尽可能小。请找出这时的n,m。如果有多解,输出任意一种方案。 题目描述 Description hzwer真的很会玩啊…他有 阅读全文
posted @ 2015-09-11 22:46 zhber 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Description hzwer找了一个人畜无害的迷の数列…… 现在hzwer希望对这个数列进行一些操作,请你来回答hzwer的问题。 操作一:查询第i个数的大小 操作二:把第i个数的大小改成x 操作三:将整个序列反转。即把第i个数放到第n-i+1个。 题目描述 Description 阅读全文
posted @ 2015-09-11 22:44 zhber 阅读(311) 评论(0) 推荐(0) 编辑
摘要: Description奶牛们没钱了,正在找工作。农夫约翰知道后,希望奶牛们四处转转,碰碰运气。而且他还加了一条要求:一头牛在一个城市最多只能赚D(1 2 #include 3 #include 4 using namespace std; 5 int head[100010]; 6 int tot... 阅读全文
posted @ 2015-09-08 22:20 zhber 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 原创作品,转载请注明来源http://www.cnblogs.com/zhber/p/4391336.html 估计没几个人会想到研究性学习搞加各种特效的贪吃蛇的吧 把这几周搞研究性学习的结果记录一下 本人负责html代码相关……数据库维护请转到app.htouko.com/snake/(为什么换服 阅读全文
posted @ 2015-04-04 00:53 zhber 阅读(603) 评论(0) 推荐(2) 编辑
摘要: DescriptionThough ZCC has many Fans, ZCC himself is a crazy Fan of a coder, called "Memset137".It was on Codefires(CF), an online competitive programm... 阅读全文
posted @ 2015-02-01 19:27 zhber 阅读(202) 评论(0) 推荐(0) 编辑
摘要: E. Pretty Songtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputWhen Sasha was studying in the seve... 阅读全文
posted @ 2015-02-01 16:47 zhber 阅读(208) 评论(0) 推荐(0) 编辑
摘要: C. Sums of Digitstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya had astrictly increasings... 阅读全文
posted @ 2015-02-01 16:41 zhber 阅读(446) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 34 下一页