1
#include<iostream>
#include<string>
#include <stdio.h>
#include <algorithm>
#include <iomanip>
#define LOVER sizeof(struct overCode)
#define LMAKESURE sizeof(sturct makesure)
#define NULL 0
using namespace std;
/********************************************************* 下 面 放 结 构 体
*****************************************************************/
typedef struct //定义一个产生式结构体
{
string left; //定义产生式的左部
string right; //定义产生式的右部
int flag;
// int biaozhi1;
// int biaozhi2;
// int biaozhi3;
}product;
typedef struct overCode
{
string lover;
struct overCode *pNext;
}overCode;
typedef struct makezi
{
string Tzi;
struct makezi *PNex;
}makezi;
typedef struct makesure //确定化 用的 T。T1
{
string T; //生成式的左部 如 AB
string right; //生成式的右部 如 DFD
string rmw; //remember math
int Li,Ri,Ti; //Li,Ri,行之为钜阵,记录是 Tx 的第几位