原创 課程練習三-1001-problem A
Problem Description Given a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequenc
原创 課程練習一Problem M
Problem Description Current work in cryptography involves (among other things) large prime numbers and computing powe
原创 課程練習二-1008 猜數字
A有1數m,B來猜.B每猜一次,A就說"太大","太小"或"對了" 。 <br>問B猜n次可以猜到的最大數。 <br> Input 第1行是整數T,表示有T組數據,下
原创 課程練習三-1003-problem C
Problem Description Nowadays, a kind of chess game called “Super Jumping! Jumping! Jumping!” is very popular in HDU.
原创 課程練習三-1004-problem D
Problem Description A number whose only prime factors are 2,3,5 or 7 is called a humble number. The sequence 1, 2, 3,
原创 課程練習三-1010-Problem J
Problem Description 有一樓梯共M級,剛開始時你在第一級,若每次只能跨上一級或二級,要走上第M級,共有多少種走法? Input 輸入數據首先包含一個整數N,表示測試實例的個數,然後是N行數據,每行包含一個整
原创 課程練習四-problem V
Problem Description Five hundred years later, the number of dragon balls will increase unexpectedly, so it's too diff
原创 課程練習四-problemR
Problem Description Recognizing junk mails is a tough task. The method used here consists of two steps:<br>1) Extrac
原创 課程練習四-ProblemJ
Problem Description Jimmy experiences a lot of stress at work these days, especially since his accident made working
原创 課程練習四-problemF
Problem Description <center><img src=/data/images/1301-1.gif></center><br>The Head Elder of the tropical island of La
原创 課程練習三--總結
dp 問題,主要是找遞推公式,其實找到遞推公式解題就簡單了, 問題是很難找遞推公式。 dp的難題是真有難度,完全無思路,當然這些訓練題還是較簡單的。
原创 課程練習四-ProblemH
Problem Description In graph theory, a pseudoforest is an undirected graph in which every connected component has at
原创 課程練習四-problemW
Problem Description In 12th Zhejiang College Students Games 2007, there was a new stadium built in Zhejiang Normal Un
原创 課程練習四-ProblemB
Problem DescriptionEddy begins to like painting pictures recently ,he is sure of himself to become a painter.Every day
原创 課程練習四—problem A
Problem Description There are N villages, which are numbered from 1 to N, and you should build some roads such that e