Qt/C++/CSS: QTooltip stylesheet background colourHi there,I've recently come across a problem developing for the Windows platform, relating to Windows...
分类:
其他好文 时间:
2015-07-22 20:20:32
阅读次数:
191
The newest MB SD Connect Compact 4 wireless Star diagnosis with V2015.07 software HDD has been come out. Do you know how to use it? To install batteri...
分类:
其他好文 时间:
2015-07-20 12:18:09
阅读次数:
101
Rotate an array ofnelements to the right byksteps.For example, withn= 7 andk= 3, the array[1,2,3,4,5,6,7]is rotated to[5,6,7,1,2,3,4].Note:Try to come...
分类:
其他好文 时间:
2015-07-20 10:36:03
阅读次数:
94
come on !复习一下什么是信号的不可靠?think for a while ???信号的执行现场是内核帮我们布置的,so 如果一个信号正在执行一个行为,此时不好意思有来了一个这个信号,那么,第一次的行为将会被第二次的行为覆盖。解决信号的不可靠----> 可重入函数:第一次调用未结束,第二次调用...
分类:
其他好文 时间:
2015-07-20 01:08:33
阅读次数:
184
I come back! 还是写博客记录比较爽。。假期加油!CF312(div2) C.Amr and Chemistry脑洞题思路:结果是求n个数相同时进行操作的步数,我们可以把每个数所有变化情况都记录下来,并记录出现的次数,因为只有用1e5的数据量。可以利用二进制的特质,比如对数a1,把a1>=...
分类:
其他好文 时间:
2015-07-19 17:53:20
阅读次数:
132
Rotate an array ofnelements to the right byksteps.For example, withn= 7 andk= 3, the array[1,2,3,4,5,6,7]is rotated to[5,6,7,1,2,3,4].Note:Try to come...
分类:
其他好文 时间:
2015-07-19 14:45:00
阅读次数:
79
题目:
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.
You should preserve the original relative order of the nodes i...
分类:
编程语言 时间:
2015-07-19 13:28:11
阅读次数:
125
#include #include #include #include #include #include #include using namespace std;#define INF 0xfffffff#define N 1002int n, m, G[N][N], vis[N], dist[...
分类:
其他好文 时间:
2015-07-19 11:28:57
阅读次数:
122
裸的最短路,试一下刚看的spfa,虽然没有看代码,不过明白了大致的思想,先写一下试试吧,而且是个稀疏图,应该会很快吧。SPFA算法采用图的存储结构是邻接表,方法是动态优化逼近法。算法中设立了一个先进先出的队列Queue用来保存待优化的顶点,优化时从此队列里顺序取出一个点w,并且用w点的当前路径D[W...
分类:
其他好文 时间:
2015-07-16 18:35:21
阅读次数:
139
转载自:http://codingfish.top/2015/07/07/android-developer-tools-list/Android 网站Android Developer Androuid 官网,不解释。AndroidDevTool 国人维护的Android开发工具的整理。Andro...
分类:
移动开发 时间:
2015-07-16 11:39:42
阅读次数:
378