示例#1
0
文件: D12P1.cs 项目: JustJace/aoc
            public void PadLeftIfNecessary()
            {
                var index = Plants.IndexOf('#');

                for (var i = 0; i < 5 - index; i++)
                {
                    Plants = "." + Plants;
                    ZeroOffset++;
                }
            }