摘要: #includeint c[10][100];int w[10],p[10],x[10];int RUN(int m,int n){ int i,j; for(i=1;ic[i-1][j]) c[i][j]=p[i]+c[i-1][j-w[i]]; ... 阅读全文
posted @ 2014-06-26 11:41 一只快乐的程序猿[Hui] 阅读(184) 评论(0) 推荐(0) 编辑
摘要: #includestruct A{ double w; double v; double xingjiabi;}a[100],p;void QuickSort(A a[],int numsize){ int i=0,j=numsize-1; A p=a[0]; i... 阅读全文
posted @ 2014-06-26 11:17 一只快乐的程序猿[Hui] 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 1 //学生成绩管理系统 V1.0 2 //student.cpp 3 //Made By SUT_Hui 4 //2012-3-12 5 //wangchunhui@wangchunhui.cn 6 7 #include 8 #include 9 #include ... 阅读全文
posted @ 2014-06-04 10:05 一只快乐的程序猿[Hui] 阅读(965) 评论(0) 推荐(0) 编辑
摘要: /** * @copyright 2012 Chunhui Wang * * wangchunhui@wangchunhui.cn * * 学生学籍管理系统(12.06) */ #include #include #include #include #include #include #incl... 阅读全文
posted @ 2014-06-04 10:00 一只快乐的程序猿[Hui] 阅读(2483) 评论(0) 推荐(0) 编辑
摘要: /** * @copyright 2011 Chunhui Wang * * wangchunhui@wangchunhui.cn*/#includeint main(){ printf("\t\t\t万年历\n"); printf("\t\t\t\t------Made by Chunhui ... 阅读全文
posted @ 2014-06-04 09:54 一只快乐的程序猿[Hui] 阅读(703) 评论(0) 推荐(0) 编辑
摘要: 位 bit (比特)(Binary Digits):存放一位二进制数,即 0 或 1,最小的存储单位。字节 byte:8个二进制位为一个字节(B),最常用的单位。计算机存储单位一般用B,KB,MB,GB,TB,PB,EB,ZB,YB,BB来表示,它们之间的关系是:1KB (Kilobyte 千字节)... 阅读全文
posted @ 2014-05-20 14:26 一只快乐的程序猿[Hui] 阅读(216) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2014-04-29 22:58 一只快乐的程序猿[Hui] 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 下载google chrome deb包32位:https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb64位:https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb注意:使用ubuntu 12.04 beta1时,最好使用主服务器的软件源,中国的源好像不全。不太喜欢使用Ubuntu软件中心安装,启动太慢。直接使用终端安装:1.按Ctrl+Alt+T打开终端:切换到chrome的所在目录:cd Downloads2. 阅读全文
posted @ 2014-03-24 19:59 一只快乐的程序猿[Hui] 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 基本上照抄了《How To Display Network Upload / Download Speed On The Panel In Ubuntu 11.04》,只不过我的实践环境是Ubuntu 11.10而已。indicator-sysmonitor是一个能在Unity的工具栏上用数字显示系统状况的实用工具。如上图。一般装完以后只能显示CPU和内存,无法显示网速。Andrew 写了个脚本解决这个问题。由于比较懒,没有完整翻译原文。只把必要的写下来了。在开始之前先声明一下,以下所有步骤在我的电脑上都运行的很好。1. 首先在Ubuntu 11.10上安装 Indicator-Sysmoni 阅读全文
posted @ 2014-03-24 17:32 一只快乐的程序猿[Hui] 阅读(209) 评论(0) 推荐(0) 编辑
摘要: //解决方法如下:sudo rm /var/cache/apt/archives/locksudo rm /var/lib/dpkg/locksudo dpkg -r flashplugin-installersudo killall dpkg 阅读全文
posted @ 2014-03-24 17:27 一只快乐的程序猿[Hui] 阅读(240) 评论(0) 推荐(0) 编辑