浩浩荡荡一个多月,不得不说自己的时间管理还要多多加强,有收获,但是感觉时间可以花的再少点。这次机房收费系统,自己对于软件工程是彻底的实施了一遍,虽说可能自己的工程连鸡窝都不如,但是麻雀虽小,五脏俱全。
在真正接触一个项目前,我们是不会像我们这次重构一样轻松的。在这里面,我也进行了每个必须的步骤,先去进行需求分析,之后画图,数据库设计,再到功能实现,最后去代码实现。在这个过程中,有几点很重...
分类:
其他好文 时间:
2014-10-09 22:19:18
阅读次数:
196
简单介绍myPagination5.0,它能够解决客户端多条件无刷新动态分页的问题,为用户提供较好的体验效果、功能强大、使用简单、方便快捷、轻松上手。...
分类:
其他好文 时间:
2014-10-09 22:34:58
阅读次数:
237
UIButton *b1=[[UIButton alloc]initWithFrame:CGRectMake(200, 200, 40, 20)]; b1.backgroundColor=[UIColor redColor]; view1=[[UIView alloc]initWithFrame.....
分类:
其他好文 时间:
2014-10-10 00:13:57
阅读次数:
266
题意:以一元为本金,能获得的最大收入,第i天股票价格为v[i],1<=i<=m思路: (1)DP思路明显,直接进行动态规划,令f[i]代表第i天所获得的最大收入.那么有公式: f[i] = max{f[i-1],f[j]*v[i]/v[j]} (1<=j<i)其中f[i-1]代表不在第i天卖...
分类:
其他好文 时间:
2014-10-09 23:23:47
阅读次数:
219
题意:三种操作 ①修改第i条边的权值为val,②把u到v路径上的所有边的权值 去相反数③求u 到v路径上最大的边权线段树的区间更新还是不熟练,,一直搞不对调试了好久还是没对,最后还是看的kuangbin的代码。 1 #include 2 #include 3 #include 4 #i...
分类:
其他好文 时间:
2014-10-09 23:23:18
阅读次数:
297
Labeling BallsTime Limit:1000MSMemory Limit:65536KTotal Submissions:11146Accepted:3192DescriptionWindy hasNballs of distinct weights from 1 unit toNun...
分类:
其他好文 时间:
2014-10-10 00:12:37
阅读次数:
264
Two Sum Problem:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indic...
分类:
其他好文 时间:
2014-10-09 23:05:37
阅读次数:
273
数据结构学的递归了,深入了解后写一个三序非递归的版本。//测试数据:abd##eg##h##c#f###include #include typedef char ElemType;typedef struct Node{ ElemType elem; struct Node *lchi...
分类:
其他好文 时间:
2014-10-09 22:32:07
阅读次数:
265
最近需要在C#下写一个抓取ARP包的程序,网上找来找去,在C#下只能用SharpPcap来做了。SharpPcap是作者把winPcap用C#重新封装而来的,详细信息见如下的链接。SharpPcap教程我在配置的过程中遇到了一些问题,现在把这些问题的解决方法写下来,以免以后忘了,又开始各种痛苦的调试...
分类:
其他好文 时间:
2014-10-09 23:05:07
阅读次数:
255
vtigercrm提供手机客户端icrm,我们可以通过客户端连接和管理服务器上的vtigercrm系统了。首先下载icrm应用;然后要找到vtigercrm管理员个人信息里面有个Webservice 密钥药记下来,等会登陆要用到。登陆时icrm依次正确填写用户名 、Webservice 密钥、vti...
分类:
其他好文 时间:
2014-10-09 22:31:37
阅读次数:
253
Problem DescriptionCorrupt governors always find ways to get dirty money. Paint something, then sell the worthless painting at a high price to someon....
分类:
其他好文 时间:
2014-10-09 22:48:08
阅读次数:
269
http://acm.hrbust.edu.cn/index.php?m=ProblemSet&a=showProblem&problem_id=1545基础数据结构——顺序表(2)Time Limit: 1000 MSMemory Limit: 10240 KTotal Submit: 412(1...
分类:
其他好文 时间:
2014-10-09 22:47:58
阅读次数:
189
题目链接http://acm.hdu.edu.cn/showproblem.php?pid=1495这题搞不出,看了一位牛逼的人的代码思路两个杯子按大小排序,为S>M>N,1.只要n满了,就把n里的东西放到s中2.只要m非空,就把m中的放到n中3.如果m为空,把s中的放到m中。-----------...
分类:
其他好文 时间:
2014-10-09 22:14:17
阅读次数:
158
题意:从(0,0)点往其他点连线,中间不能经过任何点,问最多连多少条。。自己AC通过哈哈中间没有其他的点的即为互为质数的情况,比如(2,4)不满足条件,因为两者存在公约数2,因此(1,2)也在(2,4)这条线上,而比如(5,8)两者互为质数这条直线上不存在其他整数点#include#includei...
分类:
其他好文 时间:
2014-10-10 00:10:47
阅读次数:
260
1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 struct tree 8 { 9 int count;10 tree *next[26];11 };12 tree *head;13 14 voi...
分类:
其他好文 时间:
2014-10-09 22:30:07
阅读次数:
224