joj1175
来源:互联网 发布:淘宝双11和双12 编辑:程序博客网 时间:2024/05/19 18:48
Welcome, �γɺ�
[JPoints: 895, Sender!: 0/1]
[JPoints: 895, Sender!: 0/1]
1175: The Binomial Function
1st Jilin University ACM International Collegiate Programming Contest
In this problem, you are to write a program to make the value of the binomial function:
where n and m are integers.
Input Specification
The input consists of several pairs of n and m(0<=n, m<=30). The end of input is marked by n=m=0, which should not be processed.
Output Specification
For each pair of n and m, you should print a line like this: "Binom(n, m) = v", where n, m and v have to be replaced by the values of n, m and v.
Sample Input
5 57 05 90 0
Sample Output
Binom(5, 5) = 1Binom(7, 0) = 1Binom(5, 9) = 32
This problem is used for contest: 110
Submit / Problem List / Status / Discuss
- joj1175
- joj1175
- Hadoop RPC详细分析
- Oracle Flashback 技术总结
- 动态生成WORD内容
- 构件图(Component Diagram)—UML图(八)
- 用两个栈实现一个队列的功能?要求给出算法和思路!
- joj1175
- HDU 2384 | POJ 2920 | Ranking 模拟
- 《java编程思想》第22章练习6
- WORD LIST 2
- sendToTarget与sendMessage
- oprofile在android下的常见问题
- error C2018: unknown character '0xa1' 有非法字符
- android-加载sd卡的图片并显示
- 排序系列--待续。。。