function/bind1. std::functioni.是一个函数的包装器ii.std::functioniii.这是一个模板实现的函数对象类,它可以包装其它任意的函数对象,而被包装的函数对象具有类型为T1,T2,…,TN的参数,其返回值为R类型iv.function 对象的最大用处在于实现函...
分类:
编程语言 时间:
2015-07-23 06:38:11
阅读次数:
161
create PROCEDURE [dbo].[GetPageDataOutRowNumber](@tn nvarchar(30),--表名称@idn nvarchar(20),--表主键名称@pi int = 1,--当前页数 @ps int = 7,--每页大小 @wh nvarchar(255...
分类:
数据库 时间:
2015-07-21 12:01:37
阅读次数:
155
#encoding=utf-8import telnetlibimport timedef do_telnet(Host, username, password, finish, commands): # 连接Telnet服务器 tn = telnetlib.Telnet(Host, ...
分类:
编程语言 时间:
2015-07-20 19:17:46
阅读次数:
662
Wangpeng has N clothes, M pants and K shoes so theoretically he can have N×M×K different combinations of dressing.One day he wears his pants Nike, sho...
分类:
其他好文 时间:
2015-07-17 22:31:28
阅读次数:
137
银联支付相对比较简单,引入文档,从服务器端拿到tn后发起支付,并实现UPPayPluginDelegate即可。主要是当运行时一直在下图不往下走后来问了小伙伴说是路径的问题,自己试了下还真解决了
分类:
其他好文 时间:
2015-07-14 19:53:00
阅读次数:
123
https://www.baidu.com/s?wd=ps%E6%8A%80%E5%B7%A7&rsv_spt=1&issp=1&f=3&rsv_bp=1&rsv_idx=2&ie=utf-8&tn=baiduhome_pg&rsv_enter=1&oq=psrf&inputT=16880&rsv_...
分类:
其他好文 时间:
2015-07-10 07:02:54
阅读次数:
120
TN,HTN,STN型液晶屏的差异!外观差异 1.1 TN LCD ( Twist Nematic Liquid Crystal Display)扭转向列型液晶一般为浅灰色底, 显示为黑色的字形或图形。 1.2 HTN LCD(High Twist Nematic Liquid Crys...
分类:
其他好文 时间:
2015-07-08 18:44:19
阅读次数:
137
题目连接: http://www.lightoj.com/volume_showproblem.php?problem=1054题目大意: 给出n,m,问n^m的所有因子之和是多少?解题思路: 补充知识: 1:对于一个数字n=p1^t1+p2^t2+p3^t3+.........+pn^tn...
分类:
其他好文 时间:
2015-07-08 00:20:44
阅读次数:
253
Greedy.
证明:
Let's say we have job 1, 2, ..., n, and they have time and fine as t1, f1, t2, f2, ..., tn, fn
and they are in the order of t1/f1
So this is the objective schedule. Now w...
分类:
其他好文 时间:
2015-07-07 16:59:38
阅读次数:
141