作者: noteheaven ( 用淚。點綴相思) 看板: P_noteheaven
標題: 歐耶.....歐趴願望達成!!!
時間: Thu Jan 26 16:37:54 2006

noteheaven 發表在 痞客邦 留言(0) 人氣()

作者: noteheaven ( 用淚。點綴相思) 看板: P_noteheaven
標題: 跑去染頭髮.....
時間: Wed Jan 25 16:33:22 2006

noteheaven 發表在 痞客邦 留言(0) 人氣()


唔......原來微積分有讀跟沒讀一樣嘛....Orz....
搞半天幾題會寫而已......= =+
應該沒有及格吧......我想....

noteheaven 發表在 痞客邦 留言(0) 人氣()

作者: noteheaven ( 用淚。點綴相思) 看板: P_noteheaven
標題: 期末考症候群....
時間: Wed Jan 11 22:41:49 2006

noteheaven 發表在 痞客邦 留言(0) 人氣()


在你絕然離開的時候...
我卻只能默默想念....
用思念的時間,折滿了一罐又一罐的星星,

noteheaven 發表在 痞客邦 留言(0) 人氣()

雖然說一直很喜歡裡面的人物,
但其實我從來沒真正看完過聖誕夜驚魂的卡通阿......>\\\\<

noteheaven 發表在 痞客邦 留言(0) 人氣()

淚眼迷濛的,望向面前的人。
模糊不清的視線,一如我們的未來。
閉上眼,在心底默默倒數,

noteheaven 發表在 痞客邦 留言(0) 人氣()


默默閉上眼,
狠下心不去看你們的親暱模樣,
對你,
我只能將你定位成,

noteheaven 發表在 痞客邦 留言(0) 人氣()

唔....今天看到ptt上有在介紹網誌寵物~
所以我就一時興起也來玩玩XD
弄是有弄成功啦...但是...怎麼養阿...orz...
這真是個好問題....= =

noteheaven 發表在 痞客邦 留言(0) 人氣()

黃昏
過完整個夏天 憂傷並沒有好一些
開車行駛在公路無際無邊 有離開自己的感覺
唱不完一首歌 疲倦還剩下黑眼圈

noteheaven 發表在 痞客邦 留言(0) 人氣()

已經變成這樣的我,究竟還有什麼好珍惜的呢??
總是想斬殺掉這樣不堪的自己,卻也總是在一次次的猶豫之後,
痛恨自己的下不了手。

noteheaven 發表在 痞客邦 留言(0) 人氣()

#include
#include
using namespace std;
using std::setw;
int main()
{
int id[10]={1,2,3,4,5,6,7,8,9,10};
int chinese[10]={64,95,80,64,90,76,88,75,81,90};
int english[10]={55,60,67,50,75,66,32,58,60,81};
int math[10]={40,68,53,51,48,77,84,57,80,45};
int type;
int tempid;
int tempc;
int tempe;
int tempm;
while(1)
{
cout << "-1: 結束 " << endl;
cout << "0: 列印 " << endl;
cout << "1: 搜尋 " << endl;
cout << "2: 由小到大排序 " << endl;
cout << "3: 由大到小排序 " << endl;
cin >> type;
switch(type)
{
case -1:
return 0;
break;
case 0:
cout << " id " << setw(10) << " chinese " << setw(10) << "english " << setw(10) << "math " << endl;
for(int i=0;i<=9;i++)
{
cout << setw(10) << i << setw(10) << chinese[i] << setw(10) << english[i] << setw(10) << math[i] << endl;
}
break;
case 1:
int x;
cout << "請輸入學生號碼 0-9 : " << endl;
cin >> x;
cout << "中文成績:" << chinese[x] << "英文成績:" << english[x] << "數學成績:" << math[x] << endl;
break;
case 2:
for(int i=0;i<10;i++)
{
for(int j=i+1;j<10;j++)
{
if(english[i]>english[j])
{
tempid=id[i];
id[i]=id[j];
id[j]=tempid;
tempc=chinese[i];
chinese[i]=chinese[j];
chinese[j]=tempc;
tempe=english[i];
english[i]=english[j];
english[j]=tempe;
tempm=math[i];
math[i]=math[j];
math[j]=tempm;
}
}
}
cout<<"id"<<" " << "chinese" << " "<< "english" << " "<< "math" << endl;
for(int i=0;i<10;i++)
cout <
break;
case 3:
for(int i=0;i<10;i++)
{
for(int j=i+1;j<10;j++)
{
if(english[i] {
tempid=id[i];
id[i]=id[j];
id[j]=tempid;
tempc=chinese[i];
chinese[i]=chinese[j];
chinese[j]=tempc;
tempe=english[i];
english[i]=english[j];
english[j]=tempe;
tempm=math[i];
math[i]=math[j];
math[j]=tempm;
}
}
}
cout<<"id"<<" " << "chinese" << " "<< "english" << " "<< "math" << endl;
for(int i=0;i<10;i++)
cout <
break;
default:
cout << "輸入錯誤!!" << endl;
}
}
system("PAUSE");
return 0;
}

noteheaven 發表在 痞客邦 留言(0) 人氣()

Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。