搜索 加二分
文章平均质量分 61
山农数学姜赫
这个作者很懒,什么都没留下…
展开
-
搜索 第一题 二分问题
Can you solve this equation? Time Limit : 2000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 149 Accepted Submission(s) : 47Problem DescriptionNow,given原创 2016-04-11 08:21:53 · 210 阅读 · 0 评论 -
皇后
N皇后问题 Time Limit : 2000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 28 Accepted Submission(s) : 12Problem Description在N*N的方格棋盘放置了N个皇后,使得它们不相互攻击(即任意2个皇原创 2016-04-11 22:07:55 · 298 阅读 · 0 评论 -
搜索 bfs
The doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the maze began to shake, and the doggie could feel the ground sinking. He realized that the bone原创 2016-04-11 22:01:18 · 221 阅读 · 0 评论 -
非常水体 大可乐
非常可乐 Time Limit : 2000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 27 Accepted Submission(s) : 15Problem Description大家一定觉的运动以后喝可乐是一件很惬意的事情,但是seeyou却不这原创 2016-04-11 09:05:57 · 683 阅读 · 0 评论 -
真正二分找错环节
Knight MovesTime Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 16 Accepted Submission(s) : 8Problem DescriptionA friend of you is doing原创 2016-04-11 09:02:03 · 208 阅读 · 0 评论 -
13 14 一样!!
There is a strange lift.The lift can stop can at every floor as you want, and there is a number Ki(0 <= Ki <= N) on every floor.The lift have just two buttons: up and down.When you at floor i,if原创 2016-04-11 08:59:08 · 224 阅读 · 0 评论 -
bfs题
Rescue Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 30 Accepted Submission(s) : 10Problem DescriptionAngel was caught by the MOLIGPY!原创 2016-04-11 08:56:12 · 237 阅读 · 0 评论 -
油田问题 。
Problem DescriptionThe GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular region of land at a time, and creates a原创 2016-04-11 08:52:08 · 799 阅读 · 0 评论 -
足球员
Problem Description在美式足球中,四分卫负责指挥整只球队的进攻战术和跑位,以及给接球员传球的任务。四分卫是一只球队进攻组最重要的球员,而且一般身体都相对比较弱小,所以通常球队会安排5-7名大汉来保护他,其中站在四分卫前方、排成一线的5名球员称为进攻锋线,他们通常都是135公斤左右的壮汉。对防守方来说,攻击对手的四分卫当然是最直接的限制对手进攻的方法。如果效果好,就可以在对方四原创 2016-04-11 08:50:58 · 321 阅读 · 0 评论 -
连连看
Problem Description“连连看”相信很多人都玩过。没玩过也没关系,下面我给大家介绍一下游戏规则:在一个棋盘中,放了很多的棋子。如果某两个相同的棋子,可以通过一条线连起来(这条线不能经过其它棋子),而且线的转折次数不超过两次,那么这两个棋子就可以在棋盘上消去。不好意思,由于我以前没有玩过连连看,咨询了同学的意见,连线不能从外面绕过去的,但事实上这是错的。现在已经酿成大祸,就只能将原创 2016-04-11 08:46:45 · 1082 阅读 · 0 评论 -
猜数字啦
A有1数m,B来猜.B每猜一次,A就说"太大","太小"或"对了" 。 问B猜n次可以猜到的最大数。 Input第1行是整数T,表示有T组数据,下面有T行 每行一个整数n (1 ≤ n ≤ 30) Output猜n次可以猜到的最大数 Sample Input213 S原创 2016-04-11 08:45:32 · 479 阅读 · 0 评论 -
三分 3
Inhabitants of the Wonderland have decided to hold a regional programming contest. The Judging Committee has volunteered and has promised to organize the most honest contest ever. It was decided to co原创 2016-04-11 08:43:34 · 174 阅读 · 0 评论 -
三分 2
In a two-dimensional plane there are two line belts, there are two segments AB and CD, lxhgww's speed on AB is P and on CD is Q, he can move with the speed R on other area on the plane.How long must h原创 2016-04-11 08:41:25 · 177 阅读 · 0 评论 -
第一次接触三分!
Turn the corner Time Limit : 3000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 34 Accepted Submission(s) : 17Problem DescriptionMr. West bought a new c原创 2016-04-11 08:39:11 · 223 阅读 · 0 评论 -
三角问题
Toxophily Time Limit : 3000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 30 Accepted Submission(s) : 14Problem DescriptionThe recreation center of WHU原创 2016-04-11 08:36:38 · 234 阅读 · 0 评论 -
pie 饼子问题
My birthday is coming up and traditionally I'm serving pie. Not just one pie, no, I have a number N of them, of various tastes and of various sizes. F of my friends are coming to my party and each of原创 2016-04-11 08:34:07 · 361 阅读 · 0 评论 -
搜索专题 第二个·
Strange fuction Time Limit : 2000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 83 Accepted Submission(s) : 39Problem DescriptionNow, here is a fuction:原创 2016-04-11 08:24:01 · 336 阅读 · 0 评论 -
dfs
PusherBoy is an online game http://www.hacker.org/push . There is an R * C grid, and there are piles of blocks on some positions. The goal is to clear the blocks by pushing into them. You should choos原创 2016-04-11 22:12:06 · 177 阅读 · 0 评论