• 2022-06-07
    给出生成下列语言的上下文无关文法GL(G)={0na1nbmcm|n>0,m>=0}
    A: S→ABA→0A1|0a1B→bBc|ε
    B: S→ABA→01A|01aB→bBc|ε
    C: S→ABA→0A1|0a1B→bBc|bc
    D: S→ABA→0A1|a01B→bcB|ε