链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=967描述:要做n双鞋子,第 i 双鞋子要做Ti天,每天消耗Si的钱(当前正在做第 i 双鞋子时不耗钱)...
分类:
其他好文 时间:
2014-07-14 08:26:03
阅读次数:
201
uvaLive3938:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1939题意:给你n个数,然后给你一个区间,让你查询这个区间内最大和连...
分类:
其他好文 时间:
2014-07-14 08:18:20
阅读次数:
266
题目链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4085138559951339Ancient CipherAcceptedC++0.0122014...
分类:
其他好文 时间:
2014-07-11 09:55:46
阅读次数:
236
原题链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4114138453571368DNA Consensus StringAcceptedC++0.0...
分类:
其他好文 时间:
2014-07-08 23:25:19
阅读次数:
353
题目链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=12811384599010340All in AllAcceptedC++0.0262014-07...
分类:
其他好文 时间:
2014-07-08 21:50:11
阅读次数:
230
题目链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=168(该题目同POJ 1888)13832879232Crossword AnswersAccep...
分类:
其他好文 时间:
2014-07-06 17:14:53
阅读次数:
199
UVa的题目好多,本题是数据结构的运用,就是Union Find并查集的运用。主要使用路径压缩。甚至不需要合并树了,因为没有重复的连线和修改单亲节点的操作。
郁闷的就是不太熟悉这个Oj系统,居然使用库中的abs就会WA,自己写了个abs小函数就过了。
题目:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&...
分类:
Web程序 时间:
2014-07-05 23:39:10
阅读次数:
339
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&category=&problem=4147
题意:给定一个字符串,以及若干单词,求有几种方式能用单词组成字符串
我先是dp方程推得有问题不知怎么修改搞得卡了很久,然后就是数组开得太小一直RE
tr...
分类:
其他好文 时间:
2014-07-04 07:40:01
阅读次数:
278
uva11584:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2631题意:给你一个串,问你这个串最少被划分成多少个子串,才能使得每个子串都是回文子串。题...
分类:
其他好文 时间:
2014-07-03 21:52:42
阅读次数:
237
UVALive:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1504题意:给你一个长度为L的盒子,然后有n个物品,然后给出每个物品的长度,...
分类:
其他好文 时间:
2014-07-03 20:36:08
阅读次数:
250