diff --git a/day3/day3.lua b/day3/day3.lua new file mode 100644 index 0000000..0d3d316 --- /dev/null +++ b/day3/day3.lua @@ -0,0 +1,32 @@ +file = io.open("input") +io.input(file) + +score = 0 + +for line in file:lines() do + local first = string.sub(line, 1, #line/2) + local second = string.sub(line, #line/2 + 1, #line) + print(#first) + print(#second) + for i = 1, #first do + local char = string.sub(first, i, i) + + if string.match(second, char) then + print(char) + if char == string.upper(char) then + --print(string.byte(char) - string.byte("A") + 27) + score = score + string.byte(char) - string.byte("A") + 27 + goto continue + elseif char == string.lower(char) then + --print(string.byte(char) - string.byte("a")) + score = score + string.byte(char) - string.byte("a") + 1 + goto continue + end + end + + end + + ::continue:: +end + +print(score) diff --git a/day3/day3part2.lua b/day3/day3part2.lua new file mode 100644 index 0000000..de83ba1 --- /dev/null +++ b/day3/day3part2.lua @@ -0,0 +1,33 @@ +file = io.open("input") +io.input(file) + +score = 0 +data = {} + +for line in file:lines() do + table.insert(data, line) +end + +for i = 1, #data/3 do + local one = data[(i-1)*3+1] + local two = data[(i-1)*3+2] + local three = data[(i-1)*3+3] + + for n = 1, #one do + local char = string.sub(one, n, n) + if string.match(two, char) and string.match(three, char) then + if char == string.upper(char) then + score = score + string.byte(char) - string.byte("A") + 27 + goto continue + elseif char == string.lower(char) then + score = score + string.byte(char) - string.byte("a") + 1 + goto continue + end + end + + end + + ::continue:: +end + +print(score) diff --git a/day3/input b/day3/input new file mode 100644 index 0000000..0e4ee5e --- /dev/null +++ b/day3/input @@ -0,0 +1,300 @@ +dtddvvhwttHJhwdhJPddhwJGppmGjgpQgTjQplQpTljwpg +BfzSzRSVVMVNRMDDNBSNSnfBmbrglGQbmNpQggFjpgpbQlQb +ZSBffLnVZdCCPJjhhL +RGCZpWWWFlHQQbgvFssg +jLnMzjnrnjjNjhrjdwbHscsVVgDVQPvPwh +nfJnLMLzjJMtnjNnnBbZtBWBqqbTTTBRpT +nddlhBtqTBqTVSlBtmCmVcRVmZggfWbcZc +jDjvPrPSNPwrD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rHLHTNdggsLLnwLHbTTgdrTMPPmMGWZGQQMzQVQFZQGM +gbJnrHHjnbrgLrRrHpBJvSBDDsfJsDtstq +dBTtFLTtVmpdLhMprSRSWMRSMR +QvJvQbjbCgCQRBhzzRsNWNBC +bjgGqQGbQnjGQgnQgbGgjJnDLHLdfPVtdDmLZdBFVVZttdTf diff --git a/day3/input2 b/day3/input2 new file mode 100644 index 0000000..5dd26a1 --- /dev/null +++ b/day3/input2 @@ -0,0 +1,12 @@ +dtddvvhwttHJhwdhJPddhwJGppmGjgpQgTjQplQpTljwpg +BfzSzRSVVMVNRMDDNBSNSnfBmbrglGQbmNpQggFjpgpbQlQb +ZSBffLnVZdCCPJjhhL +RGCZpWWWFlHQQbgvFssg +jLnMzjnrnjjNjhrjdwbHscsVVgDVQPvPwh +nfJnLMLzjJMtnjNnnBbZtBWBqqbTTTBRpT +nddlhBtqTBqTVSlBtmCmVcRVmZggfWbcZc +jDjvPrPSNPwrDNRWbbgWCjRRCcWm +DzDwSpFrvrvFPQLzQnsqztBthTJnGJqlsJ +gssGmzwgRgsNmTsqgDnDJnbDHHhhzFdDDh +WQVFjMWrVQrVvVVjVctSSLSMZhnJZPBnbdnhbnHZZBDJBh +VCtcccVQLrfvrSlGmfTfNgfmlFgm diff --git a/day3/input3 b/day3/input3 new file mode 100644 index 0000000..f17e726 --- /dev/null +++ b/day3/input3 @@ -0,0 +1,6 @@ +vJrwpWtwJgWrhcsFMMfFFhFp +jqHRNqRjqzjGDLGLrsFMfFZSrLrFZsSL +PmmdzqPrVvPwwTWBwg +wMqvLMZHhHMvwLHjbvcjnnSBnvTQFn +ttgJtRGJQctTZtZT +CrZsJsPPZsGzwwsLwLmpwMDw