码迷,mamicode.com
首页 >  
搜索关键字:life in programming    ( 6263个结果
iOS 之ReactiveCocoa
Functional Reactive Programming(以下简称FRP)是一种响应变化的编程范式。 额外话:如果你之前使用过Qt的话想必对这个不太陌生,很类似,信号与槽的一种机制。 这里我只总结下自己的经验,如有深了解,详见Githu...
分类:移动开发   时间:2014-10-04 18:07:07    阅读次数:356
POJ Hard Life (最大密度子图)
Hard Life   做该题前需要先了解一些专有名词及定理。 希望你可以亲自看看2007年胡伯涛的论文! 有向图的闭合图(closure): 闭合图内任意点的任意后继也一定还在闭合图中。   题目:    给出N个人,有些人之间有联系,而有联系的两个人被认为是一个整体。如果,把人看作点,把关系看作边,则要求你求出 边 / 点 的比值最大。而这些点边之间必须是一个闭合图。...
分类:其他好文   时间:2014-10-04 17:58:16    阅读次数:220
Object-oriented features
Python is an object-oriented programing language, which means that it provides features that support object-oriented programming. It is easy to define...
分类:其他好文   时间:2014-10-02 17:44:13    阅读次数:247
hdu 4223 Dynamic Programming? (dp)
//连续的和的绝对值最小 # include # include # include # include using namespace std; int main() { int t,i,j,num,n,min1; int sum[1010],a[1010]; int cas=0; while(~scanf("%d",&t)) { ...
分类:其他好文   时间:2014-10-02 00:46:12    阅读次数:318
HDU 1829 && POJ 2492 A Bug's Life(种类并查集)
题目地址:HDU 1829     POJ 2492 这个题可以用两种方法做,第一眼看完题是觉得用dfs染色判断二分图。然后又写的刚学的种类并查集。原来并查集可以这样用,真是神奇。。 dfs染色代码: #include #include #include #include #include #include #include #include #include #inclu...
分类:其他好文   时间:2014-10-01 19:51:01    阅读次数:158
【python】An Introduction to Interactive Programming in Python(week two)
This is a note forhttps://class.coursera.org/interactivepython-005In week two, I have learned:1.event-drvien programing4 event types:Input: button, te...
分类:编程语言   时间:2014-09-30 23:13:50    阅读次数:210
POJ - 3294 Life Forms
Description You may have wondered why most extraterrestrial life forms resemble humans, differing by superficial traits such as height, colour, wrinkles, ears, eyebrows and the like. A few bear n...
分类:其他好文   时间:2014-09-30 16:58:17    阅读次数:182
cf Learn from Life (简单贪心)
有N个人站在一楼。一个电梯最多承载K个人。每个人都有一个想去的楼层。f[1]....f[N]。 f[i]属于[2,2000]从a层到b层需花费abs(a-b)秒。问电梯送完所有人然后回到一楼至少需要多少秒。思路:把每个人想去的楼层从小到大排序。先把高层的人送完再送低层的人,每次送K个。(证明:送最高...
分类:其他好文   时间:2014-09-30 03:45:01    阅读次数:155
复习题
1、const?char*,?char?const*,?char*const的区别问题: Bjarne在他的The?C++?Programming?Language里面给出过一个助记的方法:? 把一个声明从右向左读 char?*?const?cp;????//?(?*?读成?point...
分类:其他好文   时间:2014-09-29 22:39:51    阅读次数:224
Oracle 11g 密码过期被锁报 ORA-28000 the account is locked
一、触发这个错误的原因及相关因素    是由于oracle11g中默认在default概要文件中设置了“PASSWORD_LIFE_TIME=180天”所导致,在Oracle 11g中是 存在密码过期问题的。 二、错误现象: 用户被锁定之后会报ORA-28000的错误,并提示无法登录到数据库 SQL> conn system/oracle ERROR: ORA-28000: t...
分类:数据库   时间:2014-09-29 14:52:11    阅读次数:237
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!