DescriptionYou have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. One type of operation is to add some given number to ...
分类:
其他好文 时间:
2015-04-15 23:11:05
阅读次数:
133
DescriptionProblem B: Myacm TrianglesProblem B: Myacm TrianglesSource file:triangle.{c, cpp, java, pas}Input file:triangle.inOutput file:triangle.outT...
分类:
其他好文 时间:
2014-12-26 14:19:17
阅读次数:
223
一个ACM若菜,趁着ACM淡季,开始学习算法导论了,经过一年的ACM学习,逐渐的发现,学东西,深入才是王道,以前学习一个算法,总是看懂了就开始做题,到后来才发现很多题目,会算法,却不知道是用这个算法,这就是算法理解的不到位的后果,从今天开始,定下目标:
1.深入系统的学习算法,
2.学会纸上写伪代码,每章的代码自己先在纸上写一遍,
3.每节的学习笔记和算法都要写在博客上。
在博客上记录自己...
分类:
编程语言 时间:
2014-12-19 23:28:27
阅读次数:
189
要学习的
基本结构
高级结构
题单
集合结构
幷查集
POJ 1182
POJ 1308
POJ 1611
POJ 1986
POJ 1988
线性结构
数组
栈
队列
双端队列
POJ
POJ
POJ
POJ
POJ
树...
分类:
其他好文 时间:
2014-12-16 13:32:57
阅读次数:
203
DescriptionTeam Queue Team QueueQueues and Priority Queues are data structures which are known to most computer scientists. The Team Queue, however, i...
分类:
其他好文 时间:
2014-12-14 13:12:19
阅读次数:
245
DescriptionProblem B - Generalized Matrioshkas Problem B - Generalized MatrioshkasVladimir worked for years making matrioshkas, those nesting dolls th...
分类:
移动开发 时间:
2014-12-14 13:09:19
阅读次数:
224
DescriptionMatrix Chain MultiplicationMatrix Chain MultiplicationSuppose you have to evaluate an expression like A*B*C*D*E where A,B,C,D and E are mat...
分类:
其他好文 时间:
2014-12-14 13:05:22
阅读次数:
244
Problem Description "Guanxi" is a very important word in Chinese. It kind of means "relationship" or "contact". Guanxi can be based on friendship, but...
分类:
其他好文 时间:
2014-12-14 11:59:26
阅读次数:
150
Description``Accordian'' PatienceYou are to simulate the playing of games of ``Accordian'' patience, the rules for which are as follows:Deal cards one...
分类:
其他好文 时间:
2014-12-10 16:06:53
阅读次数:
262
DescriptionA group of N people wishes to go across a river with only one boat, which can at most carry two persons. Therefore some sort of shuttle arr...
分类:
其他好文 时间:
2014-11-23 13:04:00
阅读次数:
170