#include #include #include #include using namespace std;char a[1010],b[1010];int ta[1010],tb[1010];int main(){ int l2,l1,l; while(scanf("%s%s",a...
分类:
其他好文 时间:
2014-06-28 17:39:49
阅读次数:
189
http://poj.org/problem?id=1185dp[i][j][k]表示第i行状态为k,第i-1行为j;状态转移方程dp[i][j][k]=max(dp[i][j][k],dp[i-1][j][k]+c[k]); 1 #include 2 #include 3 #include ...
分类:
其他好文 时间:
2014-06-28 17:09:38
阅读次数:
206
One of my Ubuntu systems would pop up the following message multiple times after logging in:System program problem detectedDo you want to report the p...
分类:
其他好文 时间:
2014-06-24 10:18:19
阅读次数:
360
BACKGROUNDComputer viruses are a common problem for computer users. One typical mode of attack is to send an electronic mail message (e-mail) containi...
分类:
其他好文 时间:
2014-06-21 00:51:41
阅读次数:
285
uvaLive4255:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&category=25&page=show_problem&problem=2256题意:对于一个序列,我们可以计算出一个...
分类:
其他好文 时间:
2014-06-21 00:27:39
阅读次数:
284
感谢微信平台:一天一道算法题---每天多一点进步----problem: 从M个不同的字符中任取N个字符的所有组合analyse: 微信这边 没有给出一些思路 而且我也觉得它提供的代码 可读性不高... 而且好像 实现出来并没有达到预计效果 我准备 自己看下 能不能写出来 再贴上去 可能要等明...
分类:
其他好文 时间:
2014-06-20 23:51:43
阅读次数:
299
微软近期Open的职位:ATG Engineer - GeneralistReady to work on some of the most advanced hardware on the planet and solve mind-bending game development problem...
分类:
其他好文 时间:
2014-06-20 23:50:25
阅读次数:
391
感谢微信平台---一天一道算法题---每天多一点进步----problem: 给你一天的Google搜索日志 你怎么设计算法找出是否有一个搜索词 它出现的频率占所有搜索的一半以上?如果肯定有一个搜索词栈大多数 你能这么提高你的算法找到它?再假设搜索日志就是内存中的一个数组 要求O(1)空间 O(n....
分类:
其他好文 时间:
2014-06-20 23:46:54
阅读次数:
192
WSS logging database grows very fast and it cause the storage problem most of the time in sharepoint server 2010.To reduce the size of the logging dat...
分类:
数据库 时间:
2014-06-20 22:04:05
阅读次数:
333
题目连接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=163#ProblemVerdictLanguageRun TimeSubmission Date1...
分类:
其他好文 时间:
2014-06-20 20:23:12
阅读次数:
365