public static void Main(string[] args) { while (true) { string input = Console.ReadLine(); ulong number = ulong.Parse(input); ulong res = Fibonachchi.CalcFib(number); Console.WriteLine(res); } }
public void test1() { Assert.AreEqual(3, Fibonachchi.CalcFib(4)); Assert.AreEqual(3736710778780434371, Fibonachchi.CalcFib(100)); }