码迷,mamicode.com
首页 >  
搜索关键字:maximum number of th    ( 33896个结果
pthread_join函数
函数简介函数pthread_join用来等待一个线程的结束。函数原型为:extern int pthread_join (pthread_t__th, void **__thread_return);第一个参数为被等待的线程标识符,第二个参数为一个用户定义的指针,它可以用来存储被等待线程的返回值。这...
分类:其他好文   时间:2014-07-01 23:16:49    阅读次数:336
Lua中C API栈操作
向栈中压入数据:lua_pushnil(lua_State*);lua_pushboolean(lua_State*, bool);lua_pushnumber(lua_State*, lua_Number);lua_pushinteger(lua_State*, lua_Integer)lua_p...
分类:Windows程序   时间:2014-07-01 21:51:22    阅读次数:256
POJ·2155·Matrix
MatrixTime Limit:3000MSMemory Limit:65536KDescriptionGiven an N*N matrix A, whose elements are either 0 or 1. A[i, j] means the number in the i-th row...
分类:其他好文   时间:2014-07-01 21:17:23    阅读次数:190
如何设置Eclipse工作区默认编辑宽度
1)打开Window => Preferences窗口2)打开Formatter属性页从Java => CodeStyle => Formatter3) 单击New创建一个自己的Formatter4)选择Line Wrapping属性页,并设置Maximum line width 为1605)然后一...
分类:系统相关   时间:2014-07-01 13:52:45    阅读次数:227
zoj 3790 Consecutive Blocks(链表重点是思想)
Consecutive Blocks Time Limit: 2 Seconds      Memory Limit: 65536 KB There are N (1 ≤ N ≤ 105) colored blocks (numbered 1 to N from left to right) which are lined up in a row. And the i-th b...
分类:其他好文   时间:2014-07-01 06:51:52    阅读次数:218
uva 11885 - Number of Battlefields(矩阵快速幂)
题目连接:uva 11885 - Number of Battlefields 题目大意:给出周长p,问多少种形状的周长为p的,并且该图形的最小包围矩阵的周长也是p,不包括矩形。 解题思路:矩阵快速幂,如果包含矩形的话,对应的则是斐波那契数列的偶数项,所以对应减去矩形的个数即可。 #include #include typedef long long ll; const l...
分类:其他好文   时间:2014-07-01 06:21:33    阅读次数:226
ActiveMQ的receiveNoWait
Pending Queue Size ­ The number of messages in the queue that have yet to bedelivered to any clientDispatched Counter ­ The number of message in the q...
分类:其他好文   时间:2014-07-01 00:23:41    阅读次数:268
TI_DSP_SRIO - DirectIO操作-1
DirectIO: The SRIO DirectIO transfer class is similar to a memcopy transfer between two SRIO devices. One of the devices is the master that initiates the transfer. The second deviceis the slave th...
分类:其他好文   时间:2014-06-30 19:46:54    阅读次数:215
hdu3826 Squarefree number
无平方因子数...
分类:其他好文   时间:2014-06-30 18:30:53    阅读次数:131
Max Points on a Line
题目 Given n points on a 2D plane, find the maximum number of points that lie on the same straight line. 方法 每次选择一个点,和其他n - 1个点,进行判断,统计最多的。 double computeSlope(Point a, Point b) { ...
分类:其他好文   时间:2014-06-30 15:48:45    阅读次数:184
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!