Given a nested list of integers, return the sum of all integers in the list weighted by their depth. Each element is either an integer, or a list -- w ...
分类:
其他好文 时间:
2016-08-03 07:53:12
阅读次数:
145
http://blog.163.com/sunm_lin/blog/static/9192142200741533038695/ 一. __attribute__ ((aligned (n))) 该属性规定变量或结构体成员的最小的对齐格式,以字节为单位。例如:int x __attribute__ ...
分类:
其他好文 时间:
2016-08-02 13:08:09
阅读次数:
196
Description One day, Lin Ji wake up in the morning and found that his pethamster escaped. He searched in the room but didn’t find the hamster. He trie ...
分类:
其他好文 时间:
2016-08-02 08:53:29
阅读次数:
210
Memcached概念: Memcached是一个免费开源的,高性能的,具有分布式对象的缓存系统,它可以用来保存一些经常存取的对象或数据,保存的数据像一张巨大的HASH表,该表以Key-value对的方式存在内存中。官网下载地址: http://www.memcached.org/运行环境: lin ...
分类:
系统相关 时间:
2016-08-01 13:54:37
阅读次数:
259
Nested List Weight Sum I Given a nested list of integers, return the sum of all integers in the list weighted by their depth. Each element is either a ...
分类:
其他好文 时间:
2016-08-01 06:52:45
阅读次数:
129
Minimal Ratio Tree Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description For a tree, which nodes and edges are all weighted, th ...
分类:
其他好文 时间:
2016-07-31 15:46:29
阅读次数:
118
关于编译powerpc linux的几个Image参考原文 http://blog.sina.com.cn/s/blog_86a30b0c0100wfzt.html 转载▼ 转载▼ PowerPC架构 Linux和ARM,X86等平台有些差异,PowerPC平台HW参数不是通过命令行方式传递到Lin ...
分类:
系统相关 时间:
2016-07-29 18:40:13
阅读次数:
526
Hugepages,hugetlb_shm_group与ORA-27125转载:http://www.eygle.com/archives/2011/12/hugepageshugetl.html在某些操作系统上,当启动数据库或者创建数据库时都可能出现ORA-27125错误,我在Oracle Lin... ...
分类:
其他好文 时间:
2016-07-25 10:35:03
阅读次数:
229
16号从正下暴雨的武汉来到帝都参加马哥培训班,从清河公寓亮哥开始,到宿舍另外五位室友,渐渐认识更多人,还算适应额不错。但走在北京的马路上,多少还是有些陌生,不过就如宿舍一样,来的时候脏兮兮,经过一番打扫后,干净了不少,我也会很快习惯在这边的生活,精力全放在lin..
分类:
系统相关 时间:
2016-07-22 19:34:00
阅读次数:
369
最近学习测试mybatis,单个增删改查都没问题,最后使用mvn test的时候发现了几个问题: get: 下面记录这两个问题。 1.mysql数据库死锁 这里,感谢http://www.cnblogs.com/lin-xuan/p/5280614.html,我找到了答案。在这里,我还是重现一下: ...
分类:
数据库 时间:
2016-07-22 01:20:02
阅读次数:
459