码迷,mamicode.com
首页 >  
搜索关键字:poj 1195 mobile phon    ( 23650个结果
POJ - 2688 Cleaning Robot
题意:求回收所有垃圾的最短路 思路:先BFS处理两个垃圾的距离,然后DFS记忆化搜索           dp[i][state]表示处理到第i个后状态是state的最短路 #include #include #include #include #include #include using namespace std; const int MAXN = 30; const in...
分类:其他好文   时间:2014-06-19 12:55:30    阅读次数:412
POJ 2828 Buy Tickets 线段树解法
此题应用线段树的方法非常巧妙。没做过真的难想得出是这么想的。 是一个逆向思维的运用。 其实一看到这道题目我就想到要运用逆向思维的了,但是就是没那么容易想通的。 思路: 1 要从后面往前更新线段树 2 线段树记录的是当前区间还剩下多少个记录空间 3 因为后面的插入会使得前面的插入往后退,那么前面插入的下标如果大于前面可以插入的空间,就需要往后退了。 好难理解的操作。仔细观察一下下面up...
分类:其他好文   时间:2014-06-19 12:54:26    阅读次数:248
poj-3225-Help with Intervals
超级恶心的一道题目。。。 查错查了一个小时。。。。 1,要用C++,用G++会wa。 2,注意检查边界。 3,注意标记的下放方式。 #include #include #include #include #include #include #include #include #pragma comment(linker, "/STACK:1024000000,1024000000") u...
分类:其他好文   时间:2014-06-19 12:07:20    阅读次数:217
poj-3481-Double Queue-splay树的水题
很水的splay树。 会简单的操作即可。。。 #include #include #include #include #include using namespace std; #define maxn 1100000 #define mem(a,b) memset(a,b,sizeof(a)) #define root10 ch[ch[root][1]][0] #define root1 c...
分类:其他好文   时间:2014-06-19 11:56:59    阅读次数:328
非常实用的mobile web application远程调试工具 weinre
移动web应用远程调试工具,非常方便使用。...
分类:移动开发   时间:2014-06-19 11:30:18    阅读次数:260
Android learning Starting!
In recent years,mobile platform become more and more popular!At present,the flourishing mobile platform are iOS and Android,symbian has been declining,wp7 struggling! Note that Android is an open,not...
分类:移动开发   时间:2014-06-16 12:26:35    阅读次数:288
POJ 2632 Crashing Robots (模拟 坐标调整)(fflush导致RE)
fflush(stdin)会导致Runtime Error...
分类:其他好文   时间:2014-06-16 12:11:13    阅读次数:245
IOS遗忘的知识
...
分类:移动开发   时间:2014-06-16 11:49:45    阅读次数:253
poj 1384 Piggy-Bank
Piggy-Bank Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 7626   Accepted: 3665 Description Before ACM can do anything, a budget must be prepared and the ne...
分类:其他好文   时间:2014-06-16 11:48:41    阅读次数:271
POJ 1860 - Currency Exchange
Currency Exchange Time Limit: 1000MS   Memory Limit: 30000K Total Submissions: 18899   Accepted: 6743 Description Several currency exchange points are working in our city...
分类:其他好文   时间:2014-06-16 11:44:36    阅读次数:208
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!