摘要:
看了引用计数之后 那时好像懂了 今天突然想起一个问题: Scene也是继承自Ref 。然后也是静态生成一个autorelease后的对象 那计数就变成1了 class CC_DLL Scene : public Node { public: /** creates a new Scene objec 阅读全文
posted @ 2017-06-05 20:48
lxjshuju
阅读(259)
评论(0)
推荐(0)
摘要:
这是一个蛋疼的节奏。曾经写的代码如今失效了。 jquery 推断checkbox 是否被选中,刚開始我是这样写的,并且没问题 $("#ziduana").attr("checked")=="checked" 后来居然失效了, 后来试了 $("ziduana").attr("checked")==tr 阅读全文
posted @ 2017-06-05 19:19
lxjshuju
阅读(139)
评论(0)
推荐(0)
摘要:
A. Choosing Teams time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output The Saratov State Unive 阅读全文
posted @ 2017-06-05 17:56
lxjshuju
阅读(214)
评论(0)
推荐(0)
摘要:
链接:http://acm.hdu.edu.cn/showproblem.php?pid=2121 题意:n个顶点,m条边,求从某一点起建立有向图最小生成树而且花费最小。输出最小花费和根节点下标。 思路:这道题根是不确定的,我们能够先如果一个根。从这个根出发到不论什么一点的距离(sum)都比原图总权 阅读全文
posted @ 2017-06-05 16:59
lxjshuju
阅读(167)
评论(0)
推荐(0)
摘要:
Linux下网卡命名规律:eth0,eth1。第一块以太网卡。第二块。 lo为环回接口,它的IP地址固定为127.0.0.1。掩码8位。它代表你的机器本身。 ifconfig [Interface] 是查看网卡的信息 ,假设不加參数查看的是全部的网卡信息 加上參数eth0的话是查看eth0网卡的信息 阅读全文
posted @ 2017-06-05 15:54
lxjshuju
阅读(2020)
评论(0)
推荐(0)
摘要:
__ 接上文 __ 2、Xlab RF上手 2.1、训练特征表准备 训练的特征表gbrt_offline_section_one_24格式为:user_id,brand_id,feature1,feature2...Label (和GBRT时候是一样的),见下图所看到的: 2.2、RF训练 利用训练 阅读全文
posted @ 2017-06-05 15:21
lxjshuju
阅读(146)
评论(0)
推荐(0)
摘要:
圆桌会议 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 3671 Accepted Submission(s): 2575 Problem D 阅读全文
posted @ 2017-06-05 13:58
lxjshuju
阅读(191)
评论(0)
推荐(0)
摘要:
在做性能调优时,用JProfiler測试Web应用的性能。发现有个replaceBlank函数占用了10%的CPU时间。进去看了下,是个简单的用正则去除XML文档里空白字符串的功能。可是这个简单功能却消耗了10%的性能。 在Web应用里。去掉空白字符串,似乎是个简单的功能,可是真正写起来。却也有些麻 阅读全文
posted @ 2017-06-05 12:31
lxjshuju
阅读(241)
评论(0)
推荐(0)
摘要:
D. CGCDSSQ time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Given a sequence of integers 阅读全文
posted @ 2017-06-05 11:22
lxjshuju
阅读(301)
评论(0)
推荐(0)
摘要:
Problem D: ShellSort He made each turtle stand on another one's back And he piled them all up in a nine-turtle stack. And then Yertle climbed up. He s 阅读全文
posted @ 2017-06-05 09:37
lxjshuju
阅读(129)
评论(0)
推荐(0)
浙公网安备 33010602011771号