溫度華氏轉(zhuǎn)變攝氏 #include <stdio.h> #include <stdlib.h> enum x {A,B,C,D,E} int main(void) { int a=73,b=85,c=66 { if (a>=90) printf("a=A等級(jí)!!\n") else if (a>=80) printf("73分=B等級(jí)!!\n") else if (a>=70) printf("73分=C等級(jí)!!\n") else if (a>=60) printf("73分=D等級(jí)!!\n") else if (a<60) printf("73分=E等級(jí)!!\n") } { if (b>=90) printf("b=A等級(jí)!!\n") else if (b>=80) printf("85分=B等級(jí)!!\n") else if (b>=70) printf("85分=C等級(jí)!!\n") else if (b>=60) printf("85分=D等級(jí)!!\n") else if (b<60) printf("85分=E等級(jí)!!\n") } { if (c>=90) printf("c=A等級(jí)!!\n") else if (c>=80) printf("66分=B等級(jí)!!\n") else if (c>=70) printf("66分=C等級(jí)!!\n") else if (c>=60) printf("66分=D等級(jí)!!\n") else if (c<60) printf("66分=E等級(jí)!!\n") } system("pause") return 0 }
標(biāo)簽: include stdlib stdio gt
上傳時(shí)間: 2014-11-10
上傳用戶(hù):wpwpwlxwlx
溫度華氏轉(zhuǎn)變攝氏 #include <stdio.h> #include <stdlib.h> enum x {A,B,C,D,E} int main(void) { int a=73,b=85,c=66 { if (a>=90) printf("a=A等級(jí)!!\n") else if (a>=80) printf("73分=B等級(jí)!!\n") else if (a>=70) printf("73分=C等級(jí)!!\n") else if (a>=60) printf("73分=D等級(jí)!!\n") else if (a<60) printf("73分=E等級(jí)!!\n") } { if (b>=90) printf("b=A等級(jí)!!\n") else if (b>=80) printf("85分=B等級(jí)!!\n") else if (b>=70) printf("85分=C等級(jí)!!\n") else if (b>=60) printf("85分=D等級(jí)!!\n") else if (b<60) printf("85分=E等級(jí)!!\n") } { if (c>=90) printf("c=A等級(jí)!!\n") else if (c>=80) printf("66分=B等級(jí)!!\n") else if (c>=70) printf("66分=C等級(jí)!!\n") else if (c>=60) printf("66分=D等級(jí)!!\n") else if (c<60) printf("66分=E等級(jí)!!\n") } system("pause") return 0 }
標(biāo)簽: include stdlib stdio gt
上傳時(shí)間: 2013-12-12
上傳用戶(hù):亞亞娟娟123
Problem B:Longest Ordered Subsequence A numeric sequence of ai is ordered if a1 < a2 < ... < aN. Let the subsequence of the given numeric sequence (a1, a2, ..., aN) be any sequence (ai1, ai2, ..., aiK), where 1 <= i1 < i2 < ... < iK <= N. For example, sequence (1, 7, 3, 5, 9, 4, 8) has ordered subsequences, e. g., (1, 7), (3, 4, 8) and many others. All longest ordered subsequences are of length 4, e. g., (1, 3, 5, 8).
標(biāo)簽: Subsequence sequence Problem Longest
上傳時(shí)間: 2016-12-08
上傳用戶(hù):busterman
ID3算法的實(shí)現(xiàn)數(shù)據(jù)挖掘中的ID3,有的是Java語(yǔ)言。
標(biāo)簽: ID3 算法 數(shù)據(jù)挖掘
上傳時(shí)間: 2014-01-12
上傳用戶(hù):zhangjinzj
DS1302讀寫(xiě)程序。功能:向串口調(diào)試工具輸入b,窗口立刻顯示從DS1302讀出的時(shí)間值。用戶(hù)只需更改管腳定義,即可在自己的板子上運(yùn)行。該程序在STC12C5A56S2單片機(jī)上已通過(guò)硬件調(diào)試,晶振24M。
標(biāo)簽: 1302 DS 讀寫(xiě)程序 串口調(diào)試工具
上傳時(shí)間: 2016-12-14
上傳用戶(hù):thuyenvinh
了解數(shù)據(jù)挖掘的各種算法,是一本幫助初學(xué)者入門(mén)的好書(shū)
標(biāo)簽: 數(shù)據(jù)挖掘 算法
上傳時(shí)間: 2016-12-16
上傳用戶(hù):yimoney
1.B樹(shù)的實(shí)現(xiàn) 2.ElfHash的實(shí)現(xiàn) 3.三種排序方式(插入,歸并,快速)
標(biāo)簽: ElfHash 樹(shù) 排序 方式
上傳時(shí)間: 2013-12-29
上傳用戶(hù):exxxds
一本c++學(xué)習(xí)的必備之書(shū)《Essential C++》By Stanley B. Lippman,
標(biāo)簽: B. Essential Stanley Lippman
上傳時(shí)間: 2014-01-20
上傳用戶(hù):水中浮云
功能:用斐波那契法求f(x)在區(qū)間[a,b]上的近似極小值。當(dāng)且僅當(dāng)f(x)在[a,b]上為單峰時(shí)次方法適用
標(biāo)簽:
上傳時(shí)間: 2013-12-24
上傳用戶(hù):csgcd001
數(shù)據(jù)挖掘中的聚類(lèi)算法簡(jiǎn)單實(shí)例,實(shí)現(xiàn)對(duì)數(shù)字的聚類(lèi)分析,可以幫助初學(xué)者理解聚類(lèi)算法
標(biāo)簽: 數(shù)據(jù)挖掘 聚類(lèi)算法
上傳時(shí)間: 2014-08-06
上傳用戶(hù):hewenzhi
蟲(chóng)蟲(chóng)下載站版權(quán)所有 京ICP備2021023401號(hào)-1