byylChomsky文法类型判断 #include #include using namespace std; #define MAXS 50 int NONE=1; int RELEFT=1; string strings,noend,end; int N; struct STR { string left; string right; }; //输出四元组 void print(STR *p) { int i; cout