quick sort
herrDeng網內搜尋
自訂搜尋
Ads
2009年12月24日 星期四
2009年11月19日 星期四
請完成該程式!
請完成該程式!
#include <iostream>
#include <cstdlib>
#include <cmath>
#include <ctime>
#include <cstring>using namespace std;
struct students{
double scores[50];
double average;
double stdev;
double Me, Q1, Q3;
};
void sort(double scores[], int len);double computeAverage(struct students X);......
2009年11月12日 星期四
2009年10月22日 星期四
2009年10月15日 星期四
2009年10月1日 星期四
2009年9月24日 星期四
2009年9月17日 星期四
2009年9月10日 星期四
2008年10月9日 星期四
2008網路通訊軟體與創意應用競賽
2008網路通訊軟體與創意應用競賽報名已經開始了! 報名期間為10月1日中午12時至10月31日下午4時,
競賽要點如下,報名文件及其他資料請逕自競賽網站 http://ncsiac2008.csie.ncu.edu.tw/下載。
今年競賽第一名獎金10萬元整、第二名獎金獎金8萬元整、第三名獎金5萬元整以及佳作獎金3萬元整,敬邀各大專院校教授鼓勵同學踴躍組隊報名參加。
相關問題,可諮詢聯絡人林胤余小姐(03)422-7151 ext. 35253 或 Email至 ncsiac2008@csie.ncu.edu.tw
--電算中心公告--
--電算中心公告--
國家資通安全會報自10月至12月進行資安演練
一、 演練重點
(一) 演練項目包含資安攻防演練與電子郵件社交工程演練兩項。
(二) 演練時間於97年10月起至98年12月底間,採全年度、無預警、不定期方式辦理。
請本校各單位及師生加強個人電腦或主機系統之防護,對於不明之可疑不明之電子郵件請勿開啟,並立即刪除;另發現所屬網站資料被不明置換或確認系統被入侵時,請立即向電算中心反映,分機: 3831 3832 3823 3824 3811
2008年10月2日 星期四
Fibonacci Sequence(2)
請列出費氏數列的值 a[n], 當 n=1,2,......,50, 到n為多少開始,C程式RUN出之a[n] 不對。
請不要用遞迴函數寫!你知道原因嗎?
提示:用for-loop
公式解:
a[n]=1/sqrt(5)*((1+sqrt(5))/2)^(n+1)-1/sqrt(5)*(1-sqrt(5))/2)^(n+1)
請不要用遞迴函數寫!你知道原因嗎?
提示:用for-loop
公式解:
a[n]=1/sqrt(5)*((1+sqrt(5))/2)^(n+1)-1/sqrt(5)*(1-sqrt(5))/2)^(n+1)
2008年10月1日 星期三
Fibonacci Sequence(1)
Fibonacci sequence:
a[0]=1, a[1]=1, a[2]=2, a[3]=3, a[4]=5,......
In general, a[n]=1 as n=0,1, a[n]=a[n-1]+a[n-2] as n>=2.
Use this recurrence relation to write a C-program finding the value of a[20]!
a[0]=1, a[1]=1, a[2]=2, a[3]=3, a[4]=5,......
In general, a[n]=1 as n=0,1, a[n]=a[n-1]+a[n-2] as n>=2.
Use this recurrence relation to write a C-program finding the value of a[20]!
2008年9月24日 星期三
2008年9月20日 星期六
2008年9月18日 星期四
2008年9月17日 星期三
訂閱:
文章 (Atom)
熱門文章
-
array ex 1, 2,3,7,8
-
統計第一作業 2, 3, 8, 9
-
請問如何用C/C++程式產生下列輸出? 1111111 2222222 3333333 4444444 5555555 6666666 7777777
-
GCD(123456789,345634567)=?
-
明文=I'm student key=(2,15,8) 密文=?
-
請用CPU-Z軟體檢測Cache & Memory 註:快取(L1-L3: SRAM) 第一級快取(L1)–通常存取只需要幾個週期,通常是幾十個KB。 第二級快取(L2)–比L1約有2到10倍較高延遲性,通常是幾百個KB或更多。 第三級快取(L3)(不...
-
C字串練習 字串 char word[]="You win!"; 輸出為: You win! You win You wi You w You You Yo Y 給進階使用者: gets () 是個危險的函式!
-
輸出字串20次
-
請輸出如下 * ** *** **** ***** ******
