F - Coins Time Limit:3000MS Memory Limit:30000KB 64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 1742Description People in Silverland use coin...
分类:
其他好文 时间:
2014-08-17 22:37:02
阅读次数:
285
题目链接Your algorithms have become so good at predicting the market that you now know what the share price of Wooden Orange Toothpicks Inc. (WOT) will be...
分类:
其他好文 时间:
2014-08-17 08:07:01
阅读次数:
238
今天去参加周六大讲堂,学习了如何使用Angular开发项目,收获非常的丰富,记录了以下知识点: 路由 客户端的MVC模式 数据双向绑定 依赖注入 SPA单页面应用程序 使用Restful+纯前端构建复杂的应用程序 总结:Javascript这几年发展的速度非常快,现在前端已经有了完整的架构体系,符合...
分类:
其他好文 时间:
2014-08-17 02:16:41
阅读次数:
235
题意:看那张图就一清二楚了吧, N个序列首位相连(相同的序列部分),得到最短的总序列。
题目链接:http://poj.org/problem?id=1699
~~~~
思路就是:将N个序列首尾相连能重合的长度求粗来。然后DFS枚举每种首尾相连的情况。
#include
#include
#include
#define N 22
#define INF 0x7fffffff
us...
分类:
其他好文 时间:
2014-08-16 22:32:41
阅读次数:
185
DescriptionBessie has moved to a small farm and sometimes enjoys returning to visit one of her best friends. She does not want to get to her old home ...
分类:
数据库 时间:
2014-08-16 11:08:00
阅读次数:
268
斜率优化DP。。。《浅谈数形结合思想在信息学竞赛中的应用 安徽省芜湖一中 周源》例题。。。
Best Cow Fences
Time Limit: 1000MS
Memory Limit: 30000K
Total Submissions: 9311
Accepted: 2986
Description...
分类:
其他好文 时间:
2014-08-14 23:56:26
阅读次数:
568
Say you have an array for which the ith element is the price of a given stock on day i.Design an algorithm to find the maximum profit. You may complet...
分类:
其他好文 时间:
2014-08-14 23:19:46
阅读次数:
240
Say you have an array for which the ith element is the price of a given stock on day i.Design an algorithm to find the maximum profit. You may complet...
分类:
其他好文 时间:
2014-08-14 23:05:56
阅读次数:
165
Say you have an array for which the ith element is the price of a given stock on day i.If you were only permitted to complete at most one transaction ...
分类:
其他好文 时间:
2014-08-14 20:30:19
阅读次数:
197