示例#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());
        }