���o

  1. 3�̔{���ł���2�i���𐶐�����CFG ���g���āA10010(2)=16+2=18(10)�𓱏o����B
    M => M0 => M00 => M110 => M2010 => M10010 => 10010
  2. ���̂悤��BNF�ŏ����ꂽ�u���v�̒�`���l����B
    <��> ::= <��> + <��> | <��>
    <��> ::= <��> * <�W��> | <�W��>
    <�W��> ::= ( <��> ) | ���W
    �Ⴆ�� ���鎮�A���W*(���W+���W) �͎��̂悤�ɓ��o�ł���B
    �� => �� => ��*�� => ��*�� => ��*�W�� => ��*(��) => ��*(��+��) => ��*(��+�W��) => ��*(��+���W) => ��*(��+���W) => ��*(�W��+���W) => ��*(���W+���W) => �W��*(���W+���W) => ���W*(���W+���W)

�\����


�V���o�X��