Day 3
This commit is contained in:
parent
0abd0cfc44
commit
73d71168e0
5 changed files with 383 additions and 0 deletions
32
day3/day3.lua
Normal file
32
day3/day3.lua
Normal file
|
@ -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)
|
33
day3/day3part2.lua
Normal file
33
day3/day3part2.lua
Normal file
|
@ -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)
|
300
day3/input
Normal file
300
day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bFCDF
|
||||
SPGCBPDMtbcbCtchSMccDTTrrrTFTrsrMTWHTHFVWF
|
||||
JmnzqVmmwwfpJpmdHRTRsdsTrFdrQp
|
||||
LqwLgzJgnjqLwgGcVbtjDGjcVbhv
|
||||
PQcMvrvMsvmdSPPVccmSJcSpGBWWWbBHfWWnfttJWnWJpJ
|
||||
wDzqhjzmqRzDRwqDzNDbWtjWBBBtGbtHpHnnBf
|
||||
zglRhDqqDZgRNmZQVCdcCPQvvdZv
|
||||
RpVjRgvFjGBNWtBWFDtt
|
||||
dcqQwlqMMsCLLfbgQmtD
|
||||
snlgzsggTzSTSJTr
|
||||
dLHhDdtlMngFcFsFLFzzsj
|
||||
vWRGGRVrrWvvGQQJBRsmQzmsqnffqcNfNcfz
|
||||
vSRVJBVBwTvWTnHphTgDgtMpDl
|
||||
bvvGnnJbfPmfdgJJSVtwwCpTScVfNpSC
|
||||
sjsZWDqBqqMRZsDjbWMVwtwNNcNtScRHpRRttp
|
||||
hzhDqqWDzZzDZzZLQPJPdPnPvlrbGdlnFQ
|
||||
PwWHTwzFvNHsNzmmMwzNWGQrCqCFjpZbpnGqrqnpbr
|
||||
gRVRgJRJlDLSJddDccQVrtZnCqjndnrZdnqnqpdq
|
||||
chhgSSJfQhRRcSSSSBLVfzmzHTNzMNsTNWHMMvMP
|
||||
lftqSpBSvhlDBDlhBSczQGmcFMcMVVFMmGFWsm
|
||||
rHLHTNdggsLLnwLHbTTgdrTMPPmMGWZGQQMzQVQFZQGM
|
||||
gbJnrHHjnbrgLrRrHpBJvSBDDsfJsDtstq
|
||||
dBTtFLTtVmpdLhMprSRSWMRSMR
|
||||
QvJvQbjbCgCQRBhzzRsNWNBC
|
||||
bjgGqQGbQnjGQgnQgbGgjJnDLHLdfPVtdDmLZdBFVVZttdTf
|
12
day3/input2
Normal file
12
day3/input2
Normal file
|
@ -0,0 +1,12 @@
|
|||
dtddvvhwttHJhwdhJPddhwJGppmGjgpQgTjQplQpTljwpg
|
||||
BfzSzRSVVMVNRMDDNBSNSnfBmbrglGQbmNpQggFjpgpbQlQb
|
||||
ZSBffLnVZdCCPJjhhL
|
||||
RGCZpWWWFlHQQbgvFssg
|
||||
jLnMzjnrnjjNjhrjdwbHscsVVgDVQPvPwh
|
||||
nfJnLMLzjJMtnjNnnBbZtBWBqqbTTTBRpT
|
||||
nddlhBtqTBqTVSlBtmCmVcRVmZggfWbcZc
|
||||
jDjvPrPSNPwrDNRWbbgWCjRRCcWm
|
||||
DzDwSpFrvrvFPQLzQnsqztBthTJnGJqlsJ
|
||||
gssGmzwgRgsNmTsqgDnDJnbDHHhhzFdDDh
|
||||
WQVFjMWrVQrVvVVjVctSSLSMZhnJZPBnbdnhbnHZZBDJBh
|
||||
VCtcccVQLrfvrSlGmfTfNgfmlFgm
|
6
day3/input3
Normal file
6
day3/input3
Normal file
|
@ -0,0 +1,6 @@
|
|||
vJrwpWtwJgWrhcsFMMfFFhFp
|
||||
jqHRNqRjqzjGDLGLrsFMfFZSrLrFZsSL
|
||||
PmmdzqPrVvPwwTWBwg
|
||||
wMqvLMZHhHMvwLHjbvcjnnSBnvTQFn
|
||||
ttgJtRGJQctTZtZT
|
||||
CrZsJsPPZsGzwwsLwLmpwMDw
|
Reference in a new issue