Пример #1
0
 public string Compute(string[] input)
 {
     surplus   = new ChemicalsStore();
     reactions = input.Select(i => Reaction.Parse(i)).ToList();
     return($"{CalculateOreNeeded(new Chemical { Name = "FUEL", Quantity = 1 })}");
 }