Guest User

Untitled

a guest
Mar 23rd, 2011
158
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.             BigInteger[] last = new[] { BigInteger.One },
  2.                   now = new[] { BigInteger.One, BigInteger.One },
  3.                   next;
  4.  
  5.             for (int row = 3; row < 202; row++)
  6.             {
  7.                 next = new BigInteger[row];
  8.                 next[0] = next[row - 1] = 1;
  9.                 for (int col = 1; col < row - 1; col++) next[col] = now[col - 1] + now[col] + last[col - 1];
  10.                 last = now;
  11.                 now = next;
  12.             }
  13.  
  14.             Console.WriteLine(now[100]);
  15.             Console.ReadLine();
RAW Paste Data