- 博客(6)
- 收藏
- 关注
原创 数据结构习题
1-1算法分析的两个主要方面是时间复杂度和空间复杂度的分析。 (1分)T 作者: DS课程组单位: 浙江大学1-2若某线性表最常用的操作是存取任一指定序号的元素和在最后进行插入和删除运算,则利用顺序表存储最节省时间。 (1分)T 作者: DS课程组单位: 浙江大学1-3在用数组表示的循环队列中,front值一定小于等于rear值...
2019-01-03 15:16:11 13566
原创 Wine trading in Gergovia
As you may know from the comic “Asterix and the Chieftain’s Shield”, Gergovia consists of one street, and every inhabitant of the city is a wine salesman. You wonder how this economy works? Simple eno...
2018-08-20 08:56:24 229
原创 素数环
A ring is composed of n (even number) circles as shown in diagram. Put natural numbers 1, 2, . . . , n into each circle separately, and the sum of numbers in two adjacent circles should be a prime.N...
2018-08-13 08:50:21 165
原创 营救
题目描述 铁塔尼号遇险了!他发出了求救信号。距离最近的哥伦比亚号收到了讯息,时间就是生命,必须尽快赶到那里。 通过侦测,哥伦比亚号获取了一张海洋图。这张图将海洋部分分化成n*n个比较小的单位,其中用1标明的是陆地,用0标明是海洋。船只能从一个格子,移到相邻的四个格子。 为了尽快赶到出事地点,哥伦比亚号最少需要走多远的距离。输入第一行为n,...
2018-08-05 18:27:05 341
原创 DNA Consensus String
DNA (Deoxyribonucleic Acid) is the molecule which contains the genetic instructions. It consists of four different nucleotides, namely Adenine, Thymine, Guanine, and Cytosine as shown in Figure 1. If ...
2018-07-29 21:59:41 116
原创 A - TEX Quotes
TEX is a typesetting language developed by Donald Knuth. It takes source text together with a few typesetting instructions and produces, one hopes, a beautiful document. Beautiful documents use “ and ...
2018-07-23 09:09:18 318
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人