码迷,mamicode.com
首页 > 其他好文
hdu 1009 qsort运用
#include #include #include #include #include #include #include //using namespace std;struct type { float javabean,food; float leve;}num[1010];int cmp(...
分类:其他好文   时间:2015-01-29 14:10:07    阅读次数:167
uestc sticks
转自http://m.blog.csdn.net/blog/wuxinliulei/9052707Sticks 这一题仍然要采用深度优先搜索+剪枝 这一题的剪枝很重要。 首先题意是要求木棒的最短长度,首先明确一点木棒的长度一定在最长木棒长度---所有木棒长度总和之间 所以在读入木棒长度之后要找出最长...
分类:其他好文   时间:2015-01-29 14:09:56    阅读次数:124
hdu 2838 求逆序对
/***************************************************************************************************************** 题意:给你N个排列不规则的数,任务是把它从小到大排好,每次只能交换相邻...
分类:其他好文   时间:2015-01-29 14:09:39    阅读次数:175
RecyclerView
RecyclerView是Google于5.0后新推出的控件,用于替代ListView,在ListView中convertView是复用的,而在RecyclerView中,是缓存的ViewHolder对象,所以在RecyclerView中有一个onCreateViewHolder方法,将it...
分类:其他好文   时间:2015-01-29 14:07:02    阅读次数:219
The pros and cons of oral bacteria(非常重要)
The pros and cons of oral bacteria(需要翻译)ByRosemary Frei, MSc, DrBicuspid.com contributing writerwww.researchgate.net 科研资料共享Philip D. Marsh 口腔生物学专家 出书《...
分类:其他好文   时间:2015-01-29 14:09:03    阅读次数:253
hdu 4121 xiangqi 模拟
hdu4121 小模拟
分类:其他好文   时间:2015-01-29 14:08:31    阅读次数:242
配眼镜时的光学名词:SPH,CYL,AXIS,OD,OS都是什么意思?
原文地址:配眼镜时的光学名词:SPH,CYL,AXIS,OD,OS都是什么意思?作者:快乐的庭子Sphere (SPH): the amount of long (+) or short (-) sight your eye has. The farther the number away from...
分类:其他好文   时间:2015-01-29 14:06:52    阅读次数:120650
dfs模板 二部图的最大匹配
/****************************************************二分图匹配(匈牙利算法的DFS实现)INIT:g[][]两边定点划分的情况CALL:res=hungary();输出最大匹配数优点:适于稠密图,DFS找增广路快,实现简洁易于理解时间复杂度:O(...
分类:其他好文   时间:2015-01-29 14:05:41    阅读次数:247
10gR2-11gR1,11gR2如何干净的清除并重建OCR和表决磁盘
下面分别讨论10gR2-11gR1和11gR2干净的清除并重建OCR和表决磁盘的方法。一.10gR2-11gR1干净的清除并重建OCR和表决磁盘的方法参考METALINK文章:ID 399482.1How to Recreate OCR/Voting Disk Accidentally Delete...
分类:其他好文   时间:2015-01-29 14:06:38    阅读次数:286
homeostasis稳态
目录:1.反馈系统2.正反馈调节3.负反馈调节4.behavioral response 行为反应,physiological response生理反应1.反馈控制系统(feedback control system)是一种“闭环”系统,即控制部分发出信号,指示受控部分活动,而受控部分的活动可被一定...
分类:其他好文   时间:2015-01-29 14:06:06    阅读次数:880
Numpy 以及 Scipy 安装
1,安装软件途中需要安装这俩,首先升级下python到2.7 or newer从python官网下载相应的source package,$tar -xJf Python-2.7.xz$cd Python-2.7$./configure --prefix=$HOME/python-2.7/ --ena...
分类:其他好文   时间:2015-01-29 14:06:13    阅读次数:258
hdu 1544 求字符串回文
#include #include int pal(char *str){ int len = strlen(str); int l, r; int ans = len; for(int i=0; i= 0 && r = 0 && r < len && str[l] == str[r]) {l--;...
分类:其他好文   时间:2015-01-29 14:06:24    阅读次数:151
PAT1007. Maximum Subsequence Sum
Given a sequence of K integers { N1, N2, ..., NK}. A continuous subsequence is defined to be { Ni, Ni+1, ..., Nj} where 1 2 const int MAXX=10010; 3 i....
分类:其他好文   时间:2015-01-29 14:04:23    阅读次数:177
LIS 最长上升序列
#include #include using namespace std;#define MAX 10000int num[MAX], n;/******************************************************************************...
分类:其他好文   时间:2015-01-29 14:05:52    阅读次数:117
hdu 1969 Pie(二分查找)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1969PieTime Limit: 5000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(...
分类:其他好文   时间:2015-01-29 14:04:41    阅读次数:125
分数化小数(decimal) 白书习题 2-5
1 /* 2 分数化小数(decimal) 白书习题 2-5 3 输入正整数 a , b , c , 输出 a/b 的小数形式,精确到小数点后 c 位 .a,b 7 int main() 8 { 9 int a,b,c,y; //y用来存储 a/b 的余数 10 while(...
分类:其他好文   时间:2015-01-29 14:02:24    阅读次数:144
幽门螺旋菌与其它疾病关联
1.胡伏莲:HP感染一石激起千层浪http://news.medlive.cn/gi/info-progress/show-39507_137.html近期,多项研究表明幽门螺杆菌(Hp)与多系统疾病相关。美国学者Allison E. Aiello的一项前瞻性对列研究首次发现,Hp感染与糖尿病发病风...
分类:其他好文   时间:2015-01-29 14:02:52    阅读次数:159
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!