原创 『杭電1162』Eddys picture
Problem Description Eddy begins to like painting pictures recently ,he is sure of himself to become a painter.Every da
原创 『杭電1158』Employment Planning
Problem Description A project manager wants to determine the number of the workers needed in every month. He does know
原创 『杭電1163』Eddys digital Roots
Problem Description The digital root of a positive integer is found by summing the digits of the integer. If the resul
原创 『杭電1166』敵兵佈陣
Problem Description C國的死對頭A國這段時間正在進行軍事演習,所以C國間諜頭子Derek和他手下Tidy又開始忙乎了。A國在海岸線沿直線佈置了N個工兵營地,Derek和Tidy的任務就是要監視這些工兵營地的活動情況。
原创 『杭電1160』FatMouses Speed
Problem Description FatMouse believes that the fatter a mouse is, the faster it runs. To disprove this, you want to ta
原创 『杭電1157』Whos in the Middle
Problem Description FJ is surveying his herd to find the most average cow. He wants to know how much milk this 'median
原创 『杭電1156』Brownie Points II
Problem Description Stan and Ollie play the game of Odd Brownie Points. Some brownie points are located in the plane,
原创 題14. 最長公共前綴
C++ class Solution { public: string longestCommonPrefix(vector<string>& strs) { if(strs.size()==0) retu
原创 『杭電1170』Balloon Comes!
Problem Description The contest starts now! How excited it is to see balloons floating around. You, one of the best pr
原创 單片機應用系統設計技術——播放音樂
播放音樂 一、實驗目的 二、實驗內容 三、實驗步驟 四、C代碼如下 五、實驗結果
原创 『杭電1147』Pick-up sticks
Problem Description Stan has n sticks of various length. He throws them one at a time on the floor in a random way. Af
原创 單片機應用系統設計技術——單片機設計2008奧運會
;標號==============指令================================地址===機器碼======= ;================================================
原创 『杭電1151』Air Raid
Problem Description Consider a town where all the streets are one-way and each street leads from one intersection to a
原创 『杭電1149』Structural Equivalence
Problem Description In programming language design circles, there has been much debate about the merits of "structural
原创 『杭電1142』A Walk Through the Forest
Problem Description Jimmy experiences a lot of stress at work these days, especially since his accident made working d