计算机问题求解一论题2-2 -算法的正确性 2015年3月03日
计算机问题求解 – 论题2-2 - 算法的正确性 2015年3月03日
As discussed in Chapter 1,an algorithmic problem can be concisely divided into two parts: 1.a specification of the set of legal inputs;and 2.the relationship between the inputs and the desired outputs. 这段话和我们今天的主题什么关系?
这段话和我们今天的主题什么关系?
问题1: 人们似乎对于计算机 “犯错比对于人犯错更 加苛刻,这是为什么呢?
start note point with P to finst employee point wih O to 问题2: fing employee is? YES drect 这个错误可 marager of p is P's YES salary moce NO dool puaul doo 1 能的后果是 than 0's? s0 NO add p's salary to NO at end advance O to noted number of Sst? next employee 什么?为什么 YES 这样的错比 YES isp at end cf五tn %语言错 NO u中ut advance P to 更严重? noted rumber next employce 如p
问题3: 书上的对文本中出现“money 一词的句子计数的例子出现了什 么样的错误,你能说出它的性质 与前一个例子有什么不同吗?