码迷,mamicode.com
首页 > 其他好文
对各团队评价
琪丁大圣 上课时候各团队的队员都挺积极的,而且他们的作品完成得挺好。何广强队 上机课好的
分类:其他好文   时间:2015-06-11 12:25:43    阅读次数:95
变量和属性
1 2 3 4 5 6 13 14 15 16 17
分类:其他好文   时间:2015-06-11 12:24:43    阅读次数:85
不要在宿舍写代码!
重要的话说三遍!!!不要在宿舍写代码!不要在宿舍写代码!不要在宿舍写代码!效率太低,刷acm题是思考的过程,不找个安静的环境效率能高到哪里去!重要的话再说三遍!!!不要在宿舍写代码!不要在宿舍写代码!不要在宿舍写代码!
分类:其他好文   时间:2015-06-11 12:25:50    阅读次数:94
POJ 2601
1 #include 2 #include 3 #include 4 using namespace std; 5 6 int main() 7 { 8 //freopen("acm.acm","r",stdin); 9 int n;10 int i;11 dou...
分类:其他好文   时间:2015-06-11 12:23:22    阅读次数:87
彩色图转化成灰度图
对于图像由彩色图转化为灰度图有三种方法分别为 加权法 均值法 最大值法!加权法就是GRAY==0.3*R+0.59*G+0.11*B均值法就是 GRAY==(R+G+B)/3最大值发就是max(R,G,B)A=imread('D:\lena.BMP');r=double(A(:,:,1));g=do...
分类:其他好文   时间:2015-06-11 12:24:11    阅读次数:157
POJ 2552
1 #include 2 #include 3 using namespace std; 4 5 int a[] = {2,3,5,7,11,13,17,23,25,29,37,41,43,47,53,61,67,71,77,83,89,91,97,107,115,119,121,127,131.....
分类:其他好文   时间:2015-06-11 12:24:40    阅读次数:351
POJ 2593
1 #include 2 #include 3 using namespace std; 4 int cmp ( const void *a , const void *b ) 5 { 6 return *(int *)b - *(int *)a; 7 } 8 int main() 9...
分类:其他好文   时间:2015-06-11 12:23:07    阅读次数:109
POJ 2664
#include#include#include#define MAXN 105using namespace std;int a[MAXN];bool Binarry_search(int a[],int size,int num);bool binarry_search(int a[],int ...
分类:其他好文   时间:2015-06-11 12:22:25    阅读次数:90
POJ 2769
1 #include 2 #include 3 #include 4 #define MAXN 305 5 using namespace std; 6 int a[MAXN]; 7 int mod[MAXN]; 8 set coll; 9 set::iterator pos;10 int mai....
分类:其他好文   时间:2015-06-11 12:24:42    阅读次数:128
POJ 2487
1 #include 2 #include 3 using namespace std; 4 5 int compare(void const * i,void const * j); 6 int main() 7 { 8 //freopen("acm.acm","r",stdin); ...
分类:其他好文   时间:2015-06-11 12:22:46    阅读次数:140
POJ 2503
#include#include#define kind 30using namespace std;class trie{private: struct trienode { trienode * next[kind]; char c[kind];...
分类:其他好文   时间:2015-06-11 12:23:42    阅读次数:90
阅读<构建之法>第三10、11、12章
第十章典型用户和场景1、典型场景和典型用户对用户的认识,例如用户的价值,如何定义用户,用户与场景的结合,在从场景到任务等,还有用户的模板或者故事。2、规格说明书(1)功能说明书定义相关的概念->规范好假设->避免误解,界定一些便界条件->描述主流的用户/软件交互步骤->一些好的功能和副作用->服务质...
分类:其他好文   时间:2015-06-11 12:21:14    阅读次数:100
实验实验
最近花了二个月的业余时间重写了我以前的通用数据访问层, 由于是重写,所以我给这个项目取了个新名字:ClownFish如果需要了解ClownFish的使用方法,请点击ClownFish 使用说明回到顶部ClownFish是什么?ClownFish是我编写的一个通用数据访问层,设计它的目的是为了:1. ...
分类:其他好文   时间:2015-06-11 12:22:04    阅读次数:148
10-11-12
第十章: 本章讲的最多的是典型用户、场景及其规格说明书,这些都是很重要的知识点,在我看来这是用户需求分析。为什么这样说呢?典型用户代表的是不同的用户,每一个用户都会有不同的需求,所以我们应该将这样一类人定义为典型用户,站在他们的角度思考问题。怎样的软件产品才会受到他们的热捧。就像书中的石头和石头他爹...
分类:其他好文   时间:2015-06-11 12:23:49    阅读次数:116
POJ 2860
#include#define MAXN 20using namespace std;int a_1[MAXN];int a_2[MAXN];int main(){ //freopen("acm.acm","r",stdin); int n; int m; int k; int i; int sum...
分类:其他好文   时间:2015-06-11 12:22:50    阅读次数:90
POJ 2603
1 #include 2 #include 3 #define M 350000 4 #define N 30000 5 using namespace std; 6 7 int boo[10000]; 8 int prime[N]; 9 void give_list();10 int ma...
分类:其他好文   时间:2015-06-11 12:20:21    阅读次数:114
驴吃胡萝卜问题——牛客/FEI
一个商人骑一头驴要穿越1000公里长的沙漠,去卖3000根胡萝卜.已知驴一次性可驮1000根胡萝卜,但每走1公里又要吃掉1根胡萝卜.问:商人最多可卖出多少胡萝卜?一个商人骑一头驴要穿越1000公里长的沙漠,去卖3000根胡萝卜.已知驴一次性可驮1000根胡萝卜,但每走1公里又要吃掉1根胡萝卜.这才是...
分类:其他好文   时间:2015-06-11 12:20:00    阅读次数:120
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!