Beispiel #1
0
 private static void Cat(List <int> Pi, List <OrderedNumber> numbers, OrderedNumber number, EnumCandidate flag)
 {
     if (!number.Flags.HasFlag(flag))
     {
         foreach (var i in Pi)
         {
             if (number.Content % 100 == i / 100)
             {
                 numbers.Add(new OrderedNumber(number.Content * 100 + i % 100, number.Flags | flag));
             }
         }
     }
 }
Beispiel #2
0
 public OrderedNumber(long content, EnumCandidate flags = EnumCandidate.None)
 {
     Content = content;
     Flags   = flags;
 }