摘要:
1.表达式计算 输入为四则运算表达式,仅由整数、+、-、* 、/ 、(、) 组成,没有空格,要求求其值。假设运算符结果都是整数 。"/"结果也是整数 表达式也是递归的定义: 表达式由项的+ -组成 ,项由因子的* / 组成, 因子可以是整数,也可以由带括号的表达式组成 判断是否还有表达式,项和因子, 阅读全文
摘要:
Description Farmer John has purchased a lush new rectangular pasture composed of M by N (1 ≤ M ≤ 12; 1 ≤ N ≤ 12) square parcels. He wants to grow some 阅读全文
摘要:
Problem Description Ignatius has just come back school from the 30th ACM/ICPC. Now he has a lot of homework to do. Every teacher gives him a deadline 阅读全文