2016年5月13日

UVa - 11988 Broken Keyboard(数组模拟链表)

摘要: 题目链接:http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=18693 阅读全文

posted @ 2016-05-13 02:19 Jstyle 阅读(164) 评论(0) 推荐(0) 编辑

UVa - 514 Rails(栈模拟)

摘要: 题目链接:http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=19641 阅读全文

posted @ 2016-05-13 02:16 Jstyle 阅读(107) 评论(0) 推荐(0) 编辑

UVa - 442 Matrix Chain Multiplication(栈模拟)

摘要: 题目链接:http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=19085 阅读全文

posted @ 2016-05-13 02:15 Jstyle 阅读(103) 评论(0) 推荐(0) 编辑

2016年5月11日

UVa - 1593 Alignment of Code(自定义字符串流)

摘要: 题目链接:http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=51294 阅读全文

posted @ 2016-05-11 11:21 Jstyle 阅读(120) 评论(0) 推荐(0) 编辑

UVa - 1592 Database(STL综合,强推!)

摘要: 题目链接:http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=51293 阅读全文

posted @ 2016-05-11 01:36 Jstyle 阅读(133) 评论(0) 推荐(0) 编辑

2016年5月10日

UVa - 12096 The SetStack Computer(STL容器综合,强推!)

摘要: 题目链接:http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=42064 阅读全文

posted @ 2016-05-10 17:41 Jstyle 阅读(125) 评论(0) 推荐(0) 编辑

UVa - 10815 Andy's First Dictionary(STL)

摘要: 题目链接:http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=18649 #include #include #include #include using namespace std;/********************... 阅读全文

posted @ 2016-05-10 00:13 Jstyle 阅读(115) 评论(0) 推荐(0) 编辑

UVa - 10474 Where is the Marble?(STL)

摘要: 题目链接:http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=19833 #include #include #define MAX 10005using namespace std;/*********************... 阅读全文

posted @ 2016-05-10 00:12 Jstyle 阅读(109) 评论(0) 推荐(0) 编辑

UVa - 156 Ananagrams(STL)

摘要: 题目链接:http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=19294#include #include #include #include #include using namespace std;/************... 阅读全文

posted @ 2016-05-10 00:10 Jstyle 阅读(94) 评论(0) 推荐(0) 编辑

2016年5月4日

USACO - 2.2 Runaround Numbers(枚举)

摘要: 题目链接:http://train.usaco.org/usacoprob2?a=ScFaavqnaPI&S=runround 阅读全文

posted @ 2016-05-04 22:17 Jstyle 阅读(105) 评论(0) 推荐(0) 编辑

USACO - 2.2 Subset Sums(DP)

摘要: 题目链接:http://train.usaco.org/usacoprob2?a=ScFaavqnaPI&S=subset 阅读全文

posted @ 2016-05-04 22:16 Jstyle 阅读(122) 评论(0) 推荐(0) 编辑

USACO - 2.2 Preface Numbering(打表枚举)

摘要: 题目链接:http://train.usaco.org/usacoprob2?a=ScFaavqnaPI&S=preface 阅读全文

posted @ 2016-05-04 22:14 Jstyle 阅读(156) 评论(0) 推荐(0) 编辑

2016年5月1日

Floyed算法学习

摘要: Floyd算法 正如我们所知道的,Floyd算法用于求最短路径。Floyd算法可以说是Warshall算法的扩展,三个for循环就可以解决问题,所以它的时间复杂度为O(n^3)。 Floyd算法的基本思想如下:从任意节点A到任意节点B的最短路径不外乎2种可能,1是直接从A到B,2是从A经过若干个节点 阅读全文

posted @ 2016-05-01 23:23 Jstyle 阅读(242) 评论(0) 推荐(0) 编辑

POJ - 2253 Frogger(Dijkstra)

摘要: 题目链接:http://poj.org/problem?id=2253 阅读全文

posted @ 2016-05-01 23:16 Jstyle 阅读(105) 评论(0) 推荐(0) 编辑

POJ - 2240 Arbitrage(Floyd)

摘要: 题目链接:http://poj.org/problem?id=2240 阅读全文

posted @ 2016-05-01 23:14 Jstyle 阅读(116) 评论(0) 推荐(0) 编辑

导航