コード例 #1
0
        public string GetSolution()
        {
            var inputFishes = _inputService.GetInput(resourceLocation).First().Split(",").Select(int.Parse).ToArray();
            var fishCounter = new FishCounter(inputFishes);

            return($"{fishCounter.Iterate(256)}");
        }
コード例 #2
0
 void Awake()
 {
     Instance     = this;
     fishQuantity = 0;
     score        = GetComponent <Text>();
 }