码迷,mamicode.com
首页 >  
搜索关键字:tasks and back stack    ( 26134个结果
RabbitMQ学习(二).NET Client之Work Queues
2 Work queues Distributing tasks among workers Python | Java | Ruby | PHP| C# 转载请注明出处:jiq?钦's technical Blog Work Queues (using the .NET Client) 前面已经介绍过了如何编写程序去发送消息到命名队列,...
分类:Web程序   时间:2014-08-31 00:33:00    阅读次数:363
STL之stack,queue,优先队列
?? 1.stack,size(),empty(),pop()函数 #include #include   using namespace std;   //通过push()方法入栈 //通过size()方法求栈中元素的个数 //通过empty()方法判断栈是否为空 //通过pop()求栈中最顶端的元素 void main...
分类:其他好文   时间:2014-08-30 23:08:10    阅读次数:252
codeforces B#264. Caisa and Pylons
Caisa solved the problem with the sugar and now he is on the way back to home. Caisa is playing a mobile game during his path. There are (n?+?1) pylons numbered from 0 to n in this game. The py...
分类:其他好文   时间:2014-08-30 21:46:50    阅读次数:315
wikioi 1043 双向dfs
思路:这题棋盘DP或者搜索,或者暴力都可以,因为棋盘比较小。 这里用的双向dfs。 #pragma comment(linker, "/STACK:1024000000,1024000000") #include #include #include #include #include #include #include #include #include #define mem(a,b) me...
分类:其他好文   时间:2014-08-30 21:45:50    阅读次数:340
链表+优先级
==================================Document.csusingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.Threading.Tasks; namespaceConsoleApplication4 { publicclassDocument//文档类 { publicstringTitle{get;privateset;}//标题..
分类:其他好文   时间:2014-08-30 19:10:20    阅读次数:188
Lua 中栈操作的C API示例
这是《Lua程序设计》中的例子,做个简单记录。 #include #include #include static void stackDump(lua_State *L){ int i; int top = lua_gettop(L); for(i = 1; i <= top; i++){ int t = lua_type(L, i); ...
分类:Windows程序   时间:2014-08-30 19:08:49    阅读次数:316
POJ 3233
二分二分二分。。记录二分的点。1600多MS,应该 可以再优化#include #include #include #include using namespace std;int stack[150],sp;int n,M;struct Matrax { int m[35][35];};Matra...
分类:其他好文   时间:2014-08-30 17:36:09    阅读次数:172
《C++primer》v5 第10章 泛型算法 读书笔记 习题答案
10.1using namespace std;int main(){ vector vec; int a; cin>>a; int v; while(cin>>v) vec.push_back(v); cout l; string a; ...
分类:编程语言   时间:2014-08-30 16:21:59    阅读次数:203
wikioi 1028 最大费用最大流
思路:这题刚开始一看没太懂,然后想想原来是裸的最大费用最大流,建图后搞下就行了。 不过题目说是用二分匹配来做,因为自己二分匹配的那个带权匹配不会,所以直接用最小费用最大流来做了,反正都一样能求。 #pragma comment(linker, "/STACK:1024000000,1024000000") #include #include #include #include #include...
分类:其他好文   时间:2014-08-30 13:54:59    阅读次数:163
ios点击产生波纹效果
ios点击产生波纹效果by 伍雪颖- (void)viewDidLoad{ [super viewDidLoad]; RippleView = [[UIView alloc] initWithFrame:(CGRect){0,0,300,300}]; RippleView.back...
分类:移动开发   时间:2014-08-29 19:54:58    阅读次数:205
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!