コード例 #1
0
 private static int GcdWithArrayAndTime(out long time, int[] numbers, GCDAlgorithm algorithm) =>
 algorithm.Calculate(out time, numbers);
コード例 #2
0
 private static int GcdWith3ParamsAndTime(out long time, int first, int second, int third, GCDAlgorithm algorithm) =>
 algorithm.Calculate(out time, first, second, third);
コード例 #3
0
 private static int GcdWithArray(int[] numbers, GCDAlgorithm algorithm) =>
 algorithm.Calculate(numbers);
コード例 #4
0
 private static int GcdWith3Params(int first, int second, int third, GCDAlgorithm algorithm) =>
 algorithm.Calculate(first, second, third);