Hi!
I'd like you to tell me how to write the shortest program which count binomial coefficient. It has to have less than 120 chars.
This program must include this loop:
Input:Code:while(scanf("%d%d",&n,&k)==2) {}
12 8
3 3
3 2
11 6
8 7
12 12
3 2
8 4
7 5
8 7
Output
495
1
3
462
8
1
3
70
21
8
Thanks for your help and sorry for my English.