码迷,mamicode.com
首页 >  
搜索关键字:let    ( 14348个结果
Used Linux Shell Command Before
--run .sh job commandsh .sh--let job run behind stagenohup ./.sh&--met error as below when rub .sh joberror 'XX.sh: line XX: sqlplus:command not found...
分类:系统相关   时间:2015-08-10 19:45:31    阅读次数:148
HDU - 1824 Let's go home(2-SAT)
题目大意:小时候,乡愁是一枚小小的邮票,我在这头,母亲在那头。 ―― 余光中 集训是辛苦的,道路是坎坷的,休息还是必须的。经过一段时间的训练,lcy决定让大家回家放松一下,但是训练还是得照常进行,lcy想出了如下回家规定,每一个队(三人一队)或者队长留下或者其余两名队员同时留下;每一对队员,如果队员A留下,则队员B必须回家休息下,或者B留下,A回家...
分类:其他好文   时间:2015-08-10 01:58:31    阅读次数:178
swift - Abstract Factory Pattern
It allows a calling component to obtain a family or group of related objects without needing to know which classes were used to create them. 每一层的创建都是工厂,并且客户端和中间层是不知道具体零件的类型的。 client: let car ...
分类:编程语言   时间:2015-08-10 00:19:26    阅读次数:190
hdu5358 First One
Problem Description soda has an integer array a1,a2,…,an. Let S(i,j) be the sum of ai,ai+1,…,aj. Now soda wants to know the value below: ∑i=1n∑j=in(?log2S(i,j)?+1)×(i+j) Note: In this p...
分类:其他好文   时间:2015-08-09 17:08:50    阅读次数:93
swift -- Tuple 元组
let tuple1 = ("As god name", "2015/08/08", true, 16) // 定义元组let tuple3 = (name: "As god name", time: "08/08", bool: true, number: 10) // 定义元组let log.....
分类:编程语言   时间:2015-08-09 00:10:40    阅读次数:147
Codeforces 566 F. Clique in the Divisibility Graph
Codeforces 566F 的传送门As you must know, the maximum clique problem in an arbitrary graph is NP-hard. Nevertheless, for some graphs of specific kinds it can be solved effectively.Just in case, let us remi...
分类:其他好文   时间:2015-08-08 19:59:04    阅读次数:133
Hdu oj 1004 Let the Balloon Rise
分析:用二维数组存放字符串,另外在比较count[i]的大小时,注意保留数组的下标。 #include #include char str[1010][16]; int count[1010]; int main() { int m; while(scanf("%d",&m),m) { int i,j; int max,k; for(i=0;i<m...
分类:其他好文   时间:2015-08-08 18:18:27    阅读次数:96
【转】Scala: Example use for early definition / early initializer / pre-initialized fields
原文链接 http://stackoverflow.com/questions/16348541/scala-example-use-for-early-definition-early-initializer-pre-initialized-fi#Let's see a example from ...
分类:其他好文   时间:2015-08-08 01:09:20    阅读次数:99
Vim配置
留一下配置文件(以后陆续更新):set nocompatible source $VIMRUNTIME/vimrc_example.vim source $VIMRUNTIME/mswin.vim behave mswinset diffexpr=MyDiff() function MyDiff() let opt = '-a --binary ' if &diffopt =~ 'icase...
分类:系统相关   时间:2015-08-07 14:45:12    阅读次数:156
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!