Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果是,那么为什么会这样?右结合性对后缀表达式无效吗?
关联性与后缀表达式无关。
比较中缀x^y^z(右结合):
x^y^z
xyz ^ ^
带中缀x + y + z(左结合):
x + y + z
xy + z +
后缀(和前缀)表示法的好处之一是它消除了中缀表示法引起的需要关联规则来解决的歧义。