码迷,mamicode.com
首页 >  
搜索关键字:rep    ( 1080个结果
Fragment
Fragment要点Fragment作为Activity界面的一部分组成出现可以在一个Activity中同时出现多个Fragment,并且,一个Fragment亦可在多个Activity中使用。在Activity运行过程中,可以添加、移除或者替换Fragment(add()、remove()、rep...
分类:其他好文   时间:2014-09-20 19:10:09    阅读次数:349
【BZOJ】3390: [Usaco2004 Dec]Bad Cowtractors牛的报复(kruskal)
。。#include #include #include #include #include #include #include using namespace std;#define rep(i, n) for(int i=0; i=(n);--i)#define for4(i,a,n) for(...
分类:其他好文   时间:2014-09-18 14:41:03    阅读次数:239
我做题、比赛的头文件,不断更新中
我做题、比赛的头文件~特别是那个rep特别好用,写起来明显速度快多了#include #include s#include #include #include #include #include #include #include #include #include using namespace ...
分类:其他好文   时间:2014-09-17 21:36:42    阅读次数:211
jeroMq示例之 [req-broker-rep]
[req-broker-rep]模式的好处是对于多个客户端的request,broker会将多个任务挨个分给workers,这样多个客户端request可以并发的发送到broker。 worker并发的执行运算。中间的broker随时把worker结果回传给对应的client。broker程序:pa...
分类:其他好文   时间:2014-09-14 19:16:27    阅读次数:294
Mercurial(HG) Windows+Eclipse安装、配置、使用
Mercurial(HG) Windows客户端安装Mercurial(HG): http://mercurial.selenic.com/Windows客户端下载:http://mercurial.selenic.com/downloadsClone project form remote rep...
分类:Windows程序   时间:2014-09-12 14:53:33    阅读次数:631
LeetCode Sum Root to Leaf Numbers
Given a binary tree containing digits from0-9only, each root-to-leaf path could represent a number.An example is the root-to-leaf path1->2->3which rep...
分类:其他好文   时间:2014-09-10 22:23:11    阅读次数:265
Lua基础字符串操作
下面记录一些常用的字符串操作 local str = "hello world" -- string.len可以获得字符串的长度 local len = string.len(str) print(len) -- string.rep返回字符串重复n次的结果 str = "ab" local newStr = string.rep(str,2) print(newStr) -- stri...
分类:其他好文   时间:2014-09-10 16:00:20    阅读次数:159
Sum Root to Leaf Numbers <leetcode>
Given a binary tree containing digits from0-9only, each root-to-leaf path could represent a number.An example is the root-to-leaf path1->2->3which rep...
分类:其他好文   时间:2014-09-09 21:27:19    阅读次数:194
【BZOJ】1631: [Usaco2007 Feb]Cow Party(dijskstra)
http://www.lydsy.com/JudgeOnline/problem.php?id=1631看到m#include #include #include #include #include #include using namespace std;#define rep(i, n) for...
分类:Web程序   时间:2014-09-03 06:12:46    阅读次数:251
R语言之merge函数案例
R语言的merge函数可以实现类似SQL的有点类似 left join right join 或者类似union的效果。df1 = data.frame(CustomerId=c(1:6),Product=c(rep("Toaster",3),rep("Radio",3)))> df2 = data...
分类:其他好文   时间:2014-09-02 00:06:53    阅读次数:1019
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!