原创 課程練習二-1001

Problem Description Now,given the equation 8*x^4 + 7*x^3 + 2*x^2 + 3*x + 6 == Y,can you find its solution between 0 a

原创 課程練習二-1009連連看

Problem Description “連連看”相信很多人都玩過。沒玩過也沒關係,下面我給大家介紹一下游戲規則:在一個棋盤中,放了很多的棋子。如果某兩個相同的棋子,可以通過一條線連起來(這條線不能經過其它棋子),而且線的轉折次數不超

原创 課程練習二-1014 A strange lift

Problem Description There is a strange lift.The lift can stop can at every floor as you want, and there is a number K

原创 課程練習一-Problem Q

Problem Description FJ is surveying his herd to find the most average cow. He wants to know how much milk this 'media

原创 課程練習二-1013-A strange lift

Problem Description There is a strange lift.The lift can stop can at every floor as you want, and there is a number K

原创 課程練習二-1016-Red and Black

Problem Description There is a rectangular room, covered with square tiles. Each tile is colored either red or black.

原创 課程練習三-1009-problem I

Problem Description Queues and Priority Queues are data structures which are known to most computer scientists. The Q

原创 課程練習二-1011-Oil Deposits

Problem Description The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. Ge

原创 課程練習三-1002-problem B

Problem Description A subsequence of a given sequence is the given sequence with some elements (possible none) left o

原创 課程練習二-1010-Catch him

Problem Description 在美式足球中,四分衛負責指揮整隻球隊的進攻戰術和跑位,以及給接球員傳球的任務。四分衛是一隻球隊進攻組最重要的球員,而且一般身體都相對比較弱小,所以通常球隊會安排5-7名大漢來保護他,其中站在四分

原创 課程練習二-1006-Line belt

Problem Description In a two-dimensional plane there are two line belts, there are two segments AB and CD, lxhgww's

原创 課程練習二-總結

對於bfs、dfs搜索的題目,很多可以套模板,然後進行判斷、減枝就OK了。 二分、三分,也是可以套模板,有一個嵌套三分的那題不錯。 搜索,算法之根本, 感覺很多題的題目說不明白(不嚴謹),還是中文的題目好(不是像1010這種,什麼翻譯啊)

原创 課程練習二-1017非常可樂

Problem Description 大家一定覺的運動以後喝可樂是一件很愜意的事情,但是seeyou卻不這麼認爲。因爲每次當seeyou買了可樂以後,阿牛就要求和seeyou一起分享這一瓶可樂,而且一定要喝的和seeyou一樣多。但

原创 課程練習二-1003-pie

Problem Description My birthday is coming up and traditionally I'm serving pie. Not just one pie, no, I have a number

原创 課程練習二-1002

Problem Description Now, here is a fuction:<br>&nbsp;&nbsp;F(x) = 6 * x^7+8*x^6+7*x^3+5*x^2-y*x (0 &lt;= x &lt;=100)