本博客rss订阅地址: http://feed.cnblogs.com/blog/u/147990/rss
摘要: 题目链接 Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1->2->3->4, you should return the list as 2->1->4->3. Your algorithm should use only constant space... 阅读全文
posted @ 2014-06-17 22:38 tenos 阅读(682) 评论(0) 推荐(0) 编辑
摘要: 题目链接 Given an array and a value, remove all instances of that value in place and return the new length. The order of elements can be changed. It doesn't matter what you leave beyond the new length. ... 阅读全文
posted @ 2014-06-17 22:13 tenos 阅读(671) 评论(0) 推荐(0) 编辑
摘要: 首先简单介绍一下罗马数字,一下摘自维基百科罗马数字共有7个,即I(1)、V(5)、X(10)、L(50)、C(100)、D(500)和M(1000)。按照下述的规则可以表示任意正整数。需要注意的是罗马数字中没有“0”,与进位制无关。一般认为罗马数字只用来记数,而不作演算。重复数次:一个罗马数字重复几... 阅读全文
posted @ 2014-06-17 21:17 tenos 阅读(5463) 评论(0) 推荐(2) 编辑
摘要: 这几天帮同学写了个简单的gui应用,用的qt5.0.2_msvc2010。写的程序需要在一台没有装过vs和qt的机子上运行。 在release下编译运行通过后,把相应的依赖dll加入到exe相同的文件夹,我们可以使用dependency walk或者ProcessExplorer查询exe依赖的dll。 添加如下的dll后,exe就可以在其他的机子上运行 dll在 文件夹 “G:\so... 阅读全文
posted @ 2014-06-17 15:35 tenos 阅读(694) 评论(0) 推荐(0) 编辑

本博客rss订阅地址: http://feed.cnblogs.com/blog/u/147990/rss

公益页面-寻找遗失儿童