输入:一段任意的程序(字符串)。 输出:相应的属性字序列。 要求:⒈不处理说明部分,但属性字的符号类除了编码外,应包含更多的信息(如运算符的优先级等); ⒉小子集中包含的符号类应有典型性,且尽可能丰富; ⒊为了使用方便和便于阅读,应有帮助信息,说明可以有哪些符号,属性字的结构如何等; 说明;⒈为了直观起见,属性字中的符号值可以是符号本身,而不是助忆符; ⒉符号的种类以及符号的编码是事先规定的,可考虑扩充的可能性。
上传时间: 2014-01-17
上传用户:fhzm5658
网上花店系统的源代码,需要PHP+mysql的运行环境,是很好的一个软件
标签: 源代码
上传时间: 2014-01-26
上传用户:dreamboy36
程序要求实现学生成绩的添加,查找,修改,删除以及统计和打印等相关功能. 利用汇编语言的编程思想是实现一个小巧的学生成绩管理系统,其中包括宏程序的引用,子程序调用/嵌套,算术指令,数据传送指令和DOS调用指令等的使用.
标签: 程序
上传时间: 2014-01-17
上传用户:guanliya
一本很好的C++书籍!内容虽然比较多,但是只是非常齐全.是学习C++不可或缺的一本书.
上传时间: 2013-12-17
上传用户:jqy_china
主类CNC.java,简单家庭数控实例,可用来学习上的参考
上传时间: 2014-06-17
上传用户:sevenbestfei
源代码\用动态规划算法计算序列关系个数 用关系"<"和"="将3个数a,b,c依次序排列时,有13种不同的序列关系: a=b=c,a=b<c,a<b=v,a<b<c,a<c<b a=c<b,b<a=c,b<a<c,b<c<a,b=c<a c<a=b,c<a<b,c<b<a 若要将n个数依序列,设计一个动态规划算法,计算出有多少种不同的序列关系, 要求算法只占用O(n),只耗时O(n*n).
上传时间: 2013-12-26
上传用户:siguazgb
The government of a small but important country has decided that the alphabet needs to be streamlined and reordered. Uppercase letters will be eliminated. They will issue a royal decree in the form of a String of B and A characters. The first character in the decree specifies whether a must come ( B )Before b in the new alphabet or ( A )After b . The second character determines the relative placement of b and c , etc. So, for example, "BAA" means that a must come Before b , b must come After c , and c must come After d . Any letters beyond these requirements are to be excluded, so if the decree specifies k comparisons then the new alphabet will contain the first k+1 lowercase letters of the current alphabet. Create a class Alphabet that contains the method choices that takes the decree as input and returns the number of possible new alphabets that conform to the decree. If more than 1,000,000,000 are possible, return -1. Definition
标签: government streamline important alphabet
上传时间: 2015-06-09
上传用户:weixiao99
实现网站导航小技巧
上传时间: 2015-06-17
上传用户:520
这是我做的计算机组成原理的课程设计报告,内容有基本模型机的设计与实现和带移位运算的模型机的设计及实现。
上传时间: 2015-06-17
上传用户:来茴
一个超级记事本程序 SuperNote SuperNote SuperNote
上传时间: 2015-06-17
上传用户:xinyuzhiqiwuwu