作者fbiwbi (fbiwbi)
看板TransCSI
标题[问题]师大95资工
时间Mon Jun 18 19:44:28 2007
2.the infix form of the postfix expression (AB+CD+/A*B+)is
a.(A+B)*(C+D)/(A+B)
b.B+(A+B)/(C+D)*A
c.(A+B)/(C+D)*(A+B)
d.B+((A+B)/(C+D)*A)
这提稿不懂b跟d有啥差别..不知这两个要选哪个
5.if X,Y,Z are integer set variables then the expression whose value is the
set of integers in exactly one of the three sets is
a.X*Y*Z
b.X+Y+Z
c.X+Y-Z-Y+Z
d.X+Y+Z*X*Y*Z
这提是再问复杂度吗??
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.216.249.125
1F:推 abien:2."postfix" 5是b吗? 06/18 20:27
2F:推 biox:题目要後序转中序 我觉得b d都可以 06/18 22:20
3F:推 abien:b.AB+CD+/A*B+ d.AB+CD+/A*B+ ~"~ 06/18 22:56
4F:推 antirazin:我想应该不是问复杂度,而是单纯的集合问题 06/18 23:01
5F:→ antirazin:它要你将X、Y、Z这三个整数集合变数用下列4个其中一个 06/18 23:02
6F:→ antirazin:来涵盖上面三个,那就是XYZ取联集,所以应该是b 06/18 23:03