原创 『杭電1175』連連看

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

原创 『杭電1171』Big Event in HDU

Problem Description Nowadays, we all know that Computer College is the biggest department in HDU. But, maybe you don't

原创 『杭電1172』猜數字

Problem Description 猜數字遊戲是gameboy最喜歡的遊戲之一。遊戲的規則是這樣的:計算機隨機產生一個四位數,然後玩家猜這個四位數是什麼。每猜一個數,計算機都會告訴玩家猜對幾個數字,其中有幾個數字在正確的位置上。 比

原创 『杭電1174』爆頭

Problem Description gameboy是一個CS高手,他最喜歡的就是扮演警察,手持M4爆土匪的頭。也許這裏有人沒玩過CS,有必要介紹一下“爆頭”這個術語:所謂爆頭,就是子彈直接命中對方的頭部,以秒殺敵人。 現在用一個三維

原创 『杭電1173』採礦

Problem Description 某天gameboy玩魔獸RPG。有一個任務是在一個富含金礦的圓形小島上建一個基地,以最快的速度採集完這個小島上的所有金礦。這個小島上有n(0<n<1000000)個金礦,每個金礦的礦藏量是相等的。

原创 『杭電1159』Common Subsequence

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

原创 題70. 爬樓梯

Java class Solution { public int climbStairs(int n) { if(n == 1) return 1; if(n == 2) return 2;

原创 『杭電1165』Eddys research II

Problem Description As is known, Ackermann function plays an important role in the sphere of theoretical computer scie

原创 『杭電1161』Eddys mistakes

Problem Description Eddy usually writes articles ,but he likes mixing the English letter uses, for example "computer s

原创 單片機應用系統設計技術——自行車測速仿真

自行車測速仿真 一、實驗目的 二、實驗內容 三、實驗步驟 四、C代碼如下 五、實驗結果

原创 單片機應用系統設計技術——lcd-12864應用

lcd-12864應用 一、實驗目的 二、實驗內容 三、實驗步驟 四、C代碼如下 五、實驗結果

原创 單片機應用系統設計技術——智能溫控器

智能溫控器 一、實驗目的 二、實驗內容 三、實驗步驟 四、C代碼如下 五、實驗結果

原创 『杭電1164』Eddys research I

Problem Description Eddy's interest is very extensive, recently he is interested in prime number. Eddy discover the al