예제 #1
0
파일: Day19.cs 프로젝트: nicozink/AOC2020
        public int GetSolution2(String path)
        {
            var parser = new MessageParser(path);

            parser.ReplaceRules();

            return(parser.CountValidMessages());
        }
예제 #2
0
파일: Day19.cs 프로젝트: nicozink/AOC2020
        public int GetSolution1(String path)
        {
            var parser = new MessageParser(path);

            return(parser.CountValidMessages());
        }