- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
static void Main(string[] args){
int i = int.Parse(Console.ReadLine());
int j = i;
i = j * Programa(1,2,3,4,5,6,7);
i = i * Recursia(1);
int x = i / i;
Console.WriteLine(x);
}
private static int Programa(int i1, int i2, int i3, int i4, int i5, int i6, int i7) {
int i = i1 * i2 * i3 * i4 * i5 * i6 * i7;
int j = i / (i7*i4);
return (j * (i7 * i4)) /i;
}
private static int Recursia(int i) {
if (i * 0 == 0 && i<50000)
Recursia(i*2);
return Suma(i,15);
}
private static int Suma(int A, int B){
if (0 == A) return B;
if (0 == B) return A;
return Suma(A - 1, B - 1);
}