看板 TransCSI 關於我們 聯絡資訊
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
abien:2."postfix" 5是b嗎? 06/18 20:27
biox:題目要後序轉中序 我覺得b d都可以 06/18 22:20
abien:b.AB+CD+/A*B+ d.AB+CD+/A*B+ ~"~ 06/18 22:56
antirazin:我想應該不是問複雜度,而是單純的集合問題 06/18 23:01
antirazin:它要你將X、Y、Z這三個整數集合變數用下列4個其中一個 06/18 23:02
antirazin:來涵蓋上面三個,那就是XYZ取聯集,所以應該是b 06/18 23:03