A Total solution for INFRARED based on PIC16F84 using PICBASIC compiler including source
標簽: including solution INFRARED PICBASIC
上傳時間: 2014-08-13
上傳用戶:miaochun888
Problem D:合唱隊形 Time Limit:1000MS Memory Limit:65536K Total Submit:1237 Accepted:437 Language: not limited Description N位同學站成一排,音樂老師要請其中的(N-K)位同學出列,使得剩下的K位同學排成合唱隊形。 合唱隊形是指這樣的一種隊形:設K位同學從左到右依次編號為1,2…,K,他們的身高分別為T1,T2,…,TK, 則他們的身高滿足T1 < T2 < ...< Ti > Ti+1 > … >TK(1<=i<=K)。 你的任務是,已知所有N位同學的身高,計算最少需要幾位同學出列,可以使得剩下的同學排成合唱隊形。 Input 輸入包含若干個測試用例。 對于每個測試用例,輸入第一行是一個整數N(2<=N<=100),表示同學的總數。第二行有N個整數,用空格分隔,第i個整數Ti(130<=Ti<=230)是第i位同學的身高(厘米)。當輸入同學總數N為0時表示輸入結束。 Output 對于每個測試案例,輸出包括一行,這一行只包含一個整數,就是最少需要幾位同學出列。 Sample Input 8 186 186 150 200 160 130 197 220 3 150 130 140 0 Sample Output 4 1
標簽: Limit Accepted Language Problem
上傳時間: 2014-01-13
上傳用戶:aappkkee
Problem F:汽車加油 Time Limit:1000MS Memory Limit:65536K Total Submit:1400 Accepted:404 Language: not limited Description 一輛汽車加滿油后可行駛n公里。旅途中有若干個加油站。設計一個有效算法,指出應在哪些加油站停靠加油,使沿途加油次數最少。 編程任務: 對于給定的n和k(k <= 10000)個加油站位置,編程計算最少加油次數。 Input 第一行有2 個正整數n和k,表示汽車加滿油后可行駛n公里,且旅途中有k個加油站。接下來的1 行中,有k+1 個整數,表示第k個加油站與第 k-1 個加油站之間的距離。第0 個加油站表示出發地,汽車已加滿油。第k+1 個加油站表示目的地。 Output 輸出最少加油次數。如果無法到達目的地,則輸出”No Solution”。 Sample Input 7 7 1 2 3 4 5 1 6 6 Sample Output 4
標簽: Limit Accepted Language Problem
上傳時間: 2016-04-12
上傳用戶:youth25
I analysis the undermodulation,Total modulation and over modulation.And the power distribution ,spectrum.you can understand the basic of am.
標簽: modulation undermodulation distribution the
上傳時間: 2013-12-17
上傳用戶:sevenbestfei
VB5.0與Windows API之間的呼叫技巧 取得Disk Volume Information 取得Disk Free Space與Total Space 取得Disk Driver List與各個Driver的型態 取得File 8.3之文件名稱格式 如何用程序來Delete Copy Move Rename File/Directory 如何用VB建立快捷方式(ShortCut) 如何直接開啟一個文件 設定Mouse 在某個固定范圍 隱藏Mouse 顯示、隱藏win95任務欄 建立Floating Window(Top Most的window) 建立與讀取.ini文件 檢查開機方式及Mouse Buttons個數 如何將整個畫面暗下來,如同關機前一般 如何截取屏幕畫面 如何改變桌面的圖片? 如何讀取 Windows 任務欄的大小及位置? 如何為 ListBox 設定水平滾動欄? 如何讓 Windows(95 及 NT) 重新開機?
標簽: Disk Space Information Windows
上傳時間: 2013-12-18
上傳用戶:fanboynet
Total variation image deconvolution_A majorization-minimization approach
標簽: majorization-minimization deconvolution_A variation approach
上傳時間: 2016-11-16
上傳用戶:xg262122
Problem A:放蘋果 Time Limit:1000MS Memory Limit:65536K Total Submit:1094 Accepted:441 Language: not limited Description 把M個同樣的蘋果放在N個同樣的盤子里,允許有的盤子空著不放,問共有多少種不同的分法?(用K表示)5,1,1和1,5,1 是同一種分法。 Input 第一行是測試數據的數目t(0 <= t <= 20)。以下每行均包含二個整數M和N,以空格分開。1<=M,N<=10。 Output 對輸入的每組數據M和N,用一行輸出相應的K。 Sample Input 1 7 3 Sample Output 8
標簽: Limit Accepted Language Problem
上傳時間: 2016-11-30
上傳用戶:leixinzhuo
Total variation整體變分方法的經典論文
上傳時間: 2014-11-03
上傳用戶:jing911003
Plait distance machine, very friendly of download line, a lot of list slice machine all can Total use
標簽: machine distance friendly download
上傳時間: 2013-12-17
上傳用戶:450976175
74HC164驅動單個數碼管(共陽)程序 74HC164 drive a single digital tube (a Total of Shenyang) procedures
標簽: procedures 164 Shenyang digital
上傳時間: 2017-04-12
上傳用戶:yiwen213