搜索资源列表
约瑟夫演示
- 编号为1,2,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数),一开始人选一个正整数作为报数上限m,从第一个人开始按顺时针方向从自1开始顺序报数,报道m时停止报数。报m的人出列,将他的密码作为新的m值,从他的顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止,设计一个程序求出出列顺序。采用单向循环链表模拟此过程,按照出列的顺序印出各人的编号测试数据:m的初值为20;n=7,7个人的密码依次为:3,1,7,2,4,8,4,首先m的值为6(正确的出列顺序应为6,1
第一女儿
- 编译原理中的First集与 Follow集生成程序,这是我用C++语言写的,希望对大家有点用处。-Compiler Principle of First Set and Follow procedures set generation, which is my C + + languages, we hope to somewhat useful.
判断是否为LL(1)文法 java编写
- 此程序是语法分析,判断是否为LL(1)文法,如果是则构造first集,follow集,select集,并输出分析表。程序用java编写。
判断是否为LL(1)文法 C语言
- 此程序是语法分析,判断是否为LL(1)文法,如果是则构造first集,follow集,select集,并输出分析表。程序用C语言编写。
brew window manager
- Objective This topic describes how to create a windowed application that will share the display with other applications. Requirements Brew® MP windowed applications need to be written differently than traditional Brew MP applications.
LL1zlprogrammer.rar
- 编译原理LL1词法分析,包括first集,follow集,适合对编译原理有一定基础的人,Compilation Principle LL1 lexical analysis, including the first set, follow set, suitable for compilers based on the principle of a certain person
rq
- 根据给定文法,先求出first集合、follow集合和select集合,构造预测分析表(要求预测分析表输出到屏幕或者输出到文件);-According to the given grammar, first find the first set, follow the collection and select a collection, structure prediction analysis table (which requires prediction of the table to
shubiaogensui
- 一个flash源代码,首先隐藏鼠标,然后替换鼠标为一个影片剪辑,这个影片剪辑鼠标跟随,代码在压缩包内。-A flash source code, first of all hide the mouse, and then replace the mouse as a movie clip, the movie clip the mouse to follow the code in the compressed package.
yf.rar
- 构造实验一所给文法(应考虑改造)的FIRST集合和FOLLOW集合;构造LL(1)分析表;构造预测分析的总控程序;利用分析表、分析栈和总控程序对源程序进行自上而下的语法分输出整个语法分析过程中栈的变化过程及分析结果,如符合语法规则输出“正确”,否则输出“错误”。 ,Experiment to construct a grammar (should consider the transformation) of FIRST and FOLLOW set of the collection co
training
- 某企业将挑选一批新员工进行培训,遵循以下规则: 将所有员工排成1个圈,从12点位置开始编号为1,逆时钟方向编号到N,第N号员工在第1号的左手边 两位培训官开始选择员工,培训官甲从1号开始逆时钟方向数,数到第k号员工停下;培训官乙从N号开始顺时钟方向数,数到第m号员工停下 被选中的第k号和第m号员工不是同一人,两人同时送往制造培训 被选中的第k号和第m号员工是同一人,将一人送往检测培训 接着继续往下数,培训官甲同样数到k就停止,培训官乙同样数到m就停止,重复上述的选择 输入
Untitled
- 光孤子传输特性模拟 在光纤通信中,光脉冲信号在光纤中传输的过程中会受到色散、损耗和非线性等作用的影响而不断地发生演化和畸变。脉冲演化的规律遵循非线性薛定谔方程(NLSE)。由于NSLE 在一般情况下无法求得它的解析解,因此通常需采要用数值方法来求解,最终归结于求解归一化的NLSE。本文使用了分步傅里叶方法对归一化NLSE 进行了求解,并模拟了输入为一到三阶双曲正割光脉冲条件下光脉冲传输演变情况。-soliton In optical fiber communications, the optic
AT45DB161
- 1、直到批号为0645的片子,chip erase指令还是不可靠的, 这在datasheet 52页有描述。 2、芯片的页大小寄存器只能写一次(OTP), 如果配置为每页512字节后就再也不能写回每页528字节了。 3、网上很多例程是旧版的161B的程序,跟161D操作指令有不少差别, ATMEL已经不建议使用这些旧指令了, 移植的时候注意对照DATASHEET修改过来。 4、写入时一定要查询状态寄存器的忙碌标志, 否则后续指令无效,外
RMSource_2.1.3
- Rooyee Messenger 是国内最早采用jabber(xmpp)协议独立开发,并遵照GNU GPL进行发布的免费开源即时通讯软件。通过它可以方便的集成开发属于自己的即时通讯产品。此版本为官方最新版本-Rooyee Messenger is the first use of jabber (xmpp) protocol developed independently, and follow the GNU GPL for distribution of free open source i
Java-Socketemail
- Java Socket邮件发送程序SMTP客户端邮件发送程序的实现原理非常简单,首先建立和邮件服务器的Socket连接,然后和服务器握手,发送各个SMTP指令,并按照邮件格式封装邮件体内容,最后发送即可。-Java Socket client mail program SMTP mail program implementation principle is very simple, first create the Socket connection and mail server, and
yucefenxi
- 利用预测分析技术识别句子,生成first集和follow集.-The use of predictive analysis technology to identify the sentence, generating first set and follow sets.
find_the_marble
- 利用动态规划算法解决猜测弹珠位置的问题Alice and Bob are playing a game. This game is played with several identical pots and one marble.-Alice and Bob are playing a game. This game is played with several identical pots and one marble. When the game starts, Alice puts th
LL(1)
- 实现根据LL(1)文法生成First集和Follow集的算法。 【基本要求】 (1) 输入一个文法G; (2) 实现由文法G构造FIRST集的算法; (3) 输出First集; (4) 实现由文法G构造FOLLOW集的算法; (5) 输出FOLLOW集。 【测试数据】 输入文法: E->TE’ E’->+TE’|ε T->FT’ T’->*FT’|ε F->(E)|i -ll(1).rar
yufafenxiqi
- 语法分析器(C++)源代码+其详细的课程设计报告 输入的文法可以消除左递归并提取公共左因子求出文法的非终结集合——FIRST和FOLLOW集并对输入的算符优先文法,构造算符优先关系表 -Parser (C++) Source code its detailed report on curriculum design input left recursive grammar can be eliminated and the public left factor extract der
vivi
- Bootloader是嵌入式系统软件开发的第一个环节,它将软硬件紧密地衔接在一起,对于一个嵌入式设备后续的软件开发至关重要。-Bootloader is the embedded system software development, the first link, it will interface closely with hardware and software, for a follow-up of embedded device software development is es
11111
- vc编写的求FOLLOW集和FIRST集-vc prepared for FOLLOW sets and set FIRST