|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
翻译原文:One of the properties of a list that makes a linked structure more inviting than a contiguous one is the need to insert and delete entries inside the list. Recall that it was such operations that had the potential of forcing the massive movement of names to fill or create holes in the case of a contiguous list. If we restrict such operations to the ends of the structure, we find that the use of a contiguous structure becomes a more convenient system. An example of this phenomenon is a stack, which is a list in which all insertions and deletions are performed at the same end of the structure. A consequence of this restriction is that the last entry entered will always be the first entry removed--an observation that leads to stacks being known as last-in, first-out (LIFO) structures.
翻译答案:插入和删除记录的需求是使链接表结构比邻接表结构更诱人的原因之一。让我们回想一下在邻接表中具有填补和创建存储空缺能力的操作。如果我们限制这种操作只可以在结构的尾部进行,则邻接表就是一种比较方便的系统。这种现象的一个例子就是堆栈。在堆栈中,插入和删除操作都在结构的相同末端进行。如此限制的结果就是最后一个进入表的记录也就是第一个从表中删除的记录。这种结构称为后进先出结构。
读完一本书翻译原文:The animals had their breakfast, and then Snowball and Napoleon called them together again.
‘Comrades,’ said Snowball, ‘it is half-past six and we have a long day before us. Today we begin the hay harvest. But there is another matter that must be attended to first.’
The pigs now revealed that during the past three months they had taught themselves to read and write from an old spelling book which had belonged to Mr. Jones’s children and which had been thrown on the rubbish heap. Napoleon sent for pots of black and white paint and led the way down to the five-barred gate that gave on to the main road. Then Snowball (for it was Snowball who was best at writing) took a brush between the two knuckles of his trotter, painted out MANOR FARM from the top bar of the gate and in its place painted ANIMAL FARM. This was to be the name of the farm from now onwards. After this they went back to the farm buildings, where Snowball and Napoleon sent for a ladder which they caused to be set against the end wall of the big barn. They explained that by their studies of the past three months the pigs had succeeded in reducing the principles of Animalism to Seven Commandments. These Seven Commandments would now be inscribed on the wall; they would form an unalterable law by which all the animals on Animal Farm must live for ever after. With some difficulty (for it is not easy for a pig to balance himself on a ladder) Snowball climbed up and set to work, with Squealer a few rungs below him holding the paint-pot. The Commandments were written on the tarred wall in great white letters that could be read thirty yards away. They ran thus:
翻译答案: 动物们用完早餐,斯诺鲍和拿破仑再次召集起他们。
“同志们”,斯诺鲍说道,“现在是六点半,下面还有整整一天。今天我们开始收割牧草,不过,还有另外一件事情得先商量一下。”
这时,大家才知道猪在过去的三个月中,从一本旧的拼读书本上自学了阅读和书写。那本书曾是琼斯先生的孩子的,早先被扔到垃圾堆里。拿破仑叫拿来几桶黑漆和白漆,带领大家来到朝着大路的五栅门。接着,斯诺鲍(正是他才最擅长书写)用蹄子的双趾捏起一支刷子,涂掉了栅栏顶的木牌上的“曼纳庄园”几个字,又在那上面写上“动物庄园”。这就是庄园以后的名字。写完后,他们又回到窝棚那里,斯诺鲍和拿破仑又叫拿来一架梯子,并让把梯子支在大谷仓的墙头。他们解释说,经过过去三个月的研讨,他们已经成功地把动物主义的原则简化为“七诫”,这“七诫”将要题写在墙上,它们将成为不可更改的法律,所有动物庄园的动物都必须永远遵循它生活。斯诺鲍好不容易才爬了上去(因为猪不易在梯子上保持平衡)并开始忙乎起来,斯奎拉在比他低几格的地方端着油漆桶。在刷过柏油的墙上,用巨大的字体写着“七诫”。字是白色的,在三十码以外清晰可辨。它们是这样写的:
翻译篇(每次翻译的量都不会很大,全部翻译才有奖励哦)
非计算机方向系列:读完一本书(这是一本经典书籍,里面的每一个单词都值得查阅)
每日一句
Always forgive your enemies; nothing annoys them so much.
永远宽恕你的敌人,没什么比这更让他们恼怒的了。 (刮刮乐,挂出大奖)
|
|