예제 #1
0
        public static int Main(params string[] args)
        {
            var input = InputReader.ReadAllText();

            Console.WriteLine(input.GetDecompressedSize2(0, input.Length));
            return(0);
        }
예제 #2
0
        public void Part2()
        {
            var expected = 10943094568;
            var input    = InputReader.ReadAllText();

            Assert.Equal(expected, input.GetDecompressedSize2(0, input.Length));
        }
예제 #3
0
        public void DoesInputHaveWhitespace()
        {
            var all = InputReader.ReadAllText();

            Assert.False(all.Contains(' '));
            Assert.False(all.Contains('\t'));
            Assert.False(all.Contains('\r'));
            Assert.False(all.Contains('\n'));
        }
예제 #4
0
        public void LengthIs99145()
        {
            var input = InputReader.ReadAllText();

            Assert.Equal(99145, input.GetDecompressedSize(0));
        }