static void Main(string[] args) { Console.WriteLine(Multiplies.FindSum(1000)); Console.WriteLine(MultipliesLINQ.FindSum(1000)); Console.WriteLine(Fibonacci.FindSum(4000000)); Console.WriteLine(Prime.FindLargestFactor(600851475143)); }
public void Visit(Multiplies bin) { var left = bin.Left; var right = bin.Right; PrepareBinaryOperation(left, right); EmitStackDown("mul"); }