{"trustable":true,"sections":[{"title":"","value":{"format":"HTML","content":"有些语言中表达式的运算符使用字符串表示,例如用mul代表*,用div代表/,用add代表+,用sub代表-,用mod代表%。"}},{"title":"Input","value":{"format":"HTML","content":"第一行为表达式的个数n。其余n行每行一个表达式,表达式由两个整数及其中间的运算符字符串表示。"}},{"title":"Output","value":{"format":"HTML","content":"输出为n行,每行是对应表达式的值。注意,此处要求的所有运算均为整数运算。"}},{"title":"Sample","value":{"format":"HTML","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e5\r\n345 mul 122\r\n3945 div 12\r\n321 add 343\r\n340 sub 211\r\n377 mod 27\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e42090\r\n328\r\n664\r\n129\r\n26\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}}]}