摘要:
简单计算器 Problem Description 读入一个只包含 +, -, *, / 的非负整数计算表达式,计算该表达式的值。 Input 测试输入包含若干测试用例,每个测试用例占一行,每行不超过200个字符,整数和运算符之间用一个空格分隔。没有非法表达式。当一行中只有0时输入结束,相应的结果不 阅读全文
摘要:
ACboy needs your help again! Problem Description ACboy was kidnapped!! he miss his mother very much and is very scare now.You can't image how dark the 阅读全文
摘要:
母函数总结 观自 http://blog.csdn.net/metalseed/article/details/8046656# 所谓母函数就是:将任意一个数列,a0,a1,a2……an 通过一个函数进行联系起来。 G(n)=a0+a1*x+a2*x^2+……an*x^n; 称G(n)为数列的生成函 阅读全文