作者Freak1033 (金が信念! XD)
看板b92902xxx
标题[分享] 自动机作业题目
时间Wed Sep 21 16:31:06 2005
as title, 因为很多人还没有课本, 所以 po 出来跟大家分享.
0.11 Find the error in the following proof that all horses are the
same color.
CLAIM: In any set of h horses, all horses are the same color.
PROOF: By induction on h.
Basis: For h == 1. In any set containing just one horse, all
horses clearly are the same color.
Induction step: For k >= 1 assume that the claim is true for
h == k and prove that it is true for h == k + 1. Take any set
H of k + 1 horses. We show that all the horses in this set are
the same color. Remove one horse from this set to obtain the
set H[1] with just k horses. By the induction hypothesis, all
the horses in H[1] are the same color. Now replace the removed
horse and remove a different one to obtain the set H[2]. By
the same argument, all the horses in H[2] are the same color.
Therefore all the horses in H must be the same color, and the
proof is complete.
0.12 Show that every graph with 2 or more nodes contains two nodes that
have equal degrees.
--
その乾いた哀愁の瞳に去来するものは何か?
失ったもの 得たもの
そして广大なネットの狭间で彼が见たものとは?
虚像と实存と记号の中に彼は今、何を想うのか?
<バトルプログラマーシラセ>
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.109.224.64
1F:推 JY:请问这是自动机与形式语言的作业吗? 09/24 15:54
2F:推 KuoSheng:感谢分享!! 09/28 11:19