码迷,mamicode.com
首页 >  
搜索关键字:linker    ( 917个结果
Hdu 3804 树链剖分 第5遍
不能原谅自己的错误。。还怀#pragma comment(linker, "/STACK:1024000000,1024000000") #include #include #include #define lson id << 1 #define rson id << 1|1 #include using namespace std; const int M = 100008; int fath...
分类:其他好文   时间:2014-10-09 20:11:27    阅读次数:127
[转]Blocking Code Injection on iOS and OS X
Source:http://www.samdmarshall.com/blog/blocking_code_injection_on_ios_and_os_x.htmlYesterday I posted (twitter) a set of linker flags that can be set...
分类:移动开发   时间:2014-10-09 15:26:23    阅读次数:239
hdu 3966 树链剖分第3遍
真心不好意思说话,写的越多,各种问题就暴漏出来了,这次更离谱,什么错误都有。。。不过还是过了。也明白了代码以后要写规范性,不能想当然。。。 #include #include #pragma comment(linker, "/STACK:1024000000,1024000000") #include #include using namespace std; const int M = 50...
分类:其他好文   时间:2014-10-08 12:47:15    阅读次数:199
如何将基于对话框的工程改成基于BCG的
一,stdafx.h 加入如下内容。BCGCBProInc.h间接导入了lib。 #include // BCGControlBar Pro #if _MSC_VER >= 1400 #if defined _M_IX86 #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Win...
分类:其他好文   时间:2014-10-07 16:48:33    阅读次数:244
acdream 1430 SETI 后缀数组+height分组
这题昨天比赛的时候逗了,后缀想不出来,因为n^2的T了,就没往后缀数组想……而且之后解题的人又说用二分套二分来做,然后就更不会了…… 刚才看了题解,唉……原来题解说n^2的也可以过,然后就……这样了! #pragma comment(linker, "/STACK:1024000000,1024000000") #include #include #include #include #incl...
分类:其他好文   时间:2014-10-07 12:48:13    阅读次数:196
hdu5044 Tree 树链剖分,点剖分,边剖分,非递归版
hdu5044 Tree 树链剖分,点剖分,边剖分,非递归版 //#pragma warning (disable: 4786) //#pragma comment (linker, "/STACK:16777216") //#pragma comment(linker, "/STACK:60400000,60400000") //HEAD #include #include #i...
分类:其他好文   时间:2014-10-06 21:36:10    阅读次数:663
Codeforces 475C Kamal-ol-molk's Painting 模拟
题目链接:点击打开链接 题意:给定n*m的矩阵 X代表有色 .代表无色 用一个x*y的矩阵形刷子去涂色。 刷子每次可以→或↓移动任意步。 若能够染出给定的矩阵,则输出最小的刷子的面积 若不能输出-1 思路: 先找到连续最小的x,y 因为至少一个边界和x或y相等,所以枚举(x,i) 和 (i,y)就可以了。 #pragma comment(linker, "/STACK:...
分类:其他好文   时间:2014-10-06 12:44:55    阅读次数:211
Codeforces 475B Strongly Connected City 强连通裸题
题目链接:点击打开链接 题意: 就是n*m的矩阵, 每行能走的方向 每列能走的方向 问:图是否强连通。 只要4个边界成环即可。 或者无脑tarjan == #pragma comment(linker, "/STACK:102400000,102400000") #include #include #include #include #include using nam...
分类:其他好文   时间:2014-10-06 12:12:10    阅读次数:228
hdu 5007 水 字符串
http://acm.hdu.edu.cn/showproblem.php?pid=5007 纯属联系String的substr 当substr截取的长度小于写的话 string te; int n; te="Hellow"; cout 我试了下 打印出来的是low.... 写的时候没去限制边界还是AC了 //#pragma comment(linker, "...
分类:其他好文   时间:2014-10-04 20:19:27    阅读次数:170
Codeforces Round #250 (Div. 2) A B C
C 贪心 写的时候突然发现这么容易,所有的绳子都要拆掉,而且绳子的个数固定,所以只要每次拆绳子,只要找绳子两端v小的即可,O(n)  //代码里面有没用的冗余 //#pragma comment(linker, "/STACK:102400000,102400000") #include #include #include #include #include #include #in...
分类:其他好文   时间:2014-10-03 18:01:24    阅读次数:199
917条   上一页 1 ... 76 77 78 79 80 ... 92 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!