mirror of
https://github.com/Crocmagnon/advent-of-code.git
synced 2024-11-22 06:28:11 +01:00
Solve day3 part 1
This commit is contained in:
parent
defec8c7da
commit
2e029f2b8f
3 changed files with 356 additions and 0 deletions
50
2022/day03_rucksack.py
Normal file
50
2022/day03_rucksack.py
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
from typing import List, Tuple
|
||||||
|
import string
|
||||||
|
|
||||||
|
|
||||||
|
def main(filename: str, expected_part_1: int = None, expected_part_2: int = None):
|
||||||
|
print(f"\n+ Running on {filename}")
|
||||||
|
with open(filename) as f:
|
||||||
|
data = f.read().strip().split("\n")
|
||||||
|
|
||||||
|
data = parse_data(data)
|
||||||
|
solution_part_1 = solve_part_1(data)
|
||||||
|
|
||||||
|
print(f"1. Found {solution_part_1}")
|
||||||
|
if expected_part_1:
|
||||||
|
assert expected_part_1 == solution_part_1
|
||||||
|
|
||||||
|
solution_part_2 = solve_part_2(data)
|
||||||
|
print(f"2. Found {solution_part_2}")
|
||||||
|
if expected_part_2:
|
||||||
|
assert expected_part_2 == solution_part_2
|
||||||
|
|
||||||
|
|
||||||
|
DataType = List[Tuple[str, str]]
|
||||||
|
|
||||||
|
|
||||||
|
def parse_data(data: List[str]) -> DataType:
|
||||||
|
sacks = []
|
||||||
|
for line in data:
|
||||||
|
stop = int(len(line) /2)
|
||||||
|
halves = (line[:stop], line[stop:])
|
||||||
|
sacks.append(halves)
|
||||||
|
return sacks
|
||||||
|
|
||||||
|
|
||||||
|
def solve_part_1(data: DataType) -> int:
|
||||||
|
total = 0
|
||||||
|
for halves in data:
|
||||||
|
first_half, second_half = set(halves[0]), set(halves[1])
|
||||||
|
common_letter = first_half.intersection(second_half).pop()
|
||||||
|
total += string.ascii_letters.index(common_letter) + 1
|
||||||
|
return total
|
||||||
|
|
||||||
|
|
||||||
|
def solve_part_2(data: DataType) -> int:
|
||||||
|
return 0
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main("inputs/day03-test1", expected_part_1=157)
|
||||||
|
main("inputs/day03", expected_part_1=7716)
|
300
2022/inputs/day03
Normal file
300
2022/inputs/day03
Normal file
|
@ -0,0 +1,300 @@
|
||||||
|
ZTmtZvZLTFNLMQMNRvZncdcHwcScJvcdHnVfwV
|
||||||
|
zqjqrzqjCqrjtqWhqChqrznhcfdfVnVSVgcffcgJcSgd
|
||||||
|
rtDGpzjjqjlrGsWqBWFRsbTPFQMTbRNRFmbs
|
||||||
|
FFlnlnVlmQqcBVhBRrSrGSwVdRJbztSt
|
||||||
|
NPPNsffWfNztRZSJNG
|
||||||
|
WpgpTTHDpgTDDpMLPGgMHslmBmmHcBQnFmcqhmnjlqQm
|
||||||
|
VlVNLlPQhtnDRPnP
|
||||||
|
QgqTffzZqgvgzWmqqZmGcDthtRFvnnFnhJtJJDDt
|
||||||
|
WGTBzSqBQTQmZBWHswpNbswLbSNCNl
|
||||||
|
PFzFQDdLjMzzQDhnDNmwZmqwRsmRRmMVNM
|
||||||
|
GtSbbtlttvvtBvtHBmqqNqVVwsVgCmRw
|
||||||
|
brlvctHfrlrqvGvcTpjDdFnLDhdfjLhQpn
|
||||||
|
fTqzgFrcmzTrTNgMzFzTrgtbMtVMVPSLVbvSStRttPVV
|
||||||
|
lsHnlQhplQpsHhlDJsswNwZPZZVNwvnSZSVvVS
|
||||||
|
BJpsGWhWQQHdGHlpWpfgrmqgNBmTTBqzTrzr
|
||||||
|
PLPPrDNHDBnrWNBmjDmjbqqgzjgjQC
|
||||||
|
GJpFwpvFFsJpwvwwGwJZJRptzdQSSZTmCjTQmTSQjjZSggQQ
|
||||||
|
ffwGGtJGCfLcNMNNfNLW
|
||||||
|
nlTzllGwlQHHGMSrrhQLcvbcghgcvL
|
||||||
|
fFNpttBRFFRNtJJnfNWmqbhhZrZrcjgpvLrvrvcvbr
|
||||||
|
JBftFFsVRWtNWRsmWtRfftGHGPDDCnTDHSCwzwVnwGSw
|
||||||
|
LsrZLbLmPSTZtPcc
|
||||||
|
zpnpljpdwh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RRvvRpwwspNSpTPjCMVhhtCjGThjBjB
|
||||||
|
fJJpvRRwNRSwvzRzRvzSgSRNqFTFDbFmqncQTbdFfnbDQnLW
|
||||||
|
wSjwwjWhbhhjWjdqSVpqSndvMdmM
|
||||||
|
NTvPBrZgPPHDFrFHGvZHRBqVBpCQVRRdmpRppdqM
|
||||||
|
TgDHZPsNTWbbwsjtvw
|
||||||
|
HVRPRwJVppQNpGmvMvmqqq
|
||||||
|
WcttbWsWsdDdbFDSSWclZGvFLMvfvjfzNvLGzLmfqv
|
||||||
|
tglcmSldWlBQBThRQBhg
|
||||||
|
LDGGfPFLGsfFnGLfMzfJVccNzmcmwm
|
||||||
|
qggSRgtjgCRtdtNZCJMCcZwTZVcm
|
||||||
|
RBbHbbRRnLBDDrvN
|
||||||
|
pThhMtMtTsWspWTnGjpsVHPdjdjvHdgVvLDVVSjd
|
||||||
|
JQNrrwCFrSRLRVLnSN
|
||||||
|
JQcJFCfcnfQmrbblQqlthGqzpZpGTBMWTMqtst
|
||||||
|
DzVmzDDgsNdHHLGJhJppPPllqSgbql
|
||||||
|
jrBWjcQMCRchPShwSblpbW
|
||||||
|
ZjRrSCtnnrtBQTcrSZmGtGFFNDHmHVVmVtzz
|
||||||
|
GSbGbrTGRRScMlVFjfbqqjdF
|
||||||
|
tvDmZhtNtHDttBhCmHDJHNwlpjslMwfflvpqldsFpMlf
|
||||||
|
HdBhLDhJDLWWLDCSQGcrQPGccLTGcQ
|
||||||
|
tNzrCdJBrrtQdtgQdlQQtrnMZhMTqzHqqTFZZFqTHFMV
|
||||||
|
bwbsRDvfwfsfcfSFqMmqDqFVNMNVVH
|
||||||
|
PRvfbSjNvPWPlLllLJ
|
||||||
|
MjMRRNRMjZtGVGpBCMMCDV
|
||||||
|
vwfhFzhvcJQQwJlQSddzQwFWGqcDpCDqBqDTcGZTTVTCWG
|
||||||
|
dvFJzrfZJhddLNLPHsrtRbPr
|
||||||
|
BmbsFNBhszGgGtGl
|
||||||
|
MSHVwdS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
|
NghhtJBtnWLRTNjmcMDtjdsMfGDH
|
||||||
|
jgsvPffVmHfDqPSrNwnQwnwNhSvw
|
||||||
|
PZbGbCdcGdRCGtntQLQQLLwtpLNw
|
||||||
|
RbcPFBRFcdZBBJDBmTHjsD
|
||||||
|
dTTFJdzhmmmQpzVz
|
||||||
|
jtNLcctGGjtfrnVMsNQNQVVWnv
|
||||||
|
GcrcrfLtDggLftDFhZFdJFHJBVFBgZ
|
||||||
|
TTbqTgqCqZCrwmhQnnmrgh
|
||||||
|
MhpfsMLhfmrznLrQrF
|
||||||
|
RsStRMtjpHMfDtWsWsNDppsqlZqBlhNlbcNdTPClPqcvBP
|
||||||
|
lRhZPgnpRGZlSrmsLSvSzLVl
|
||||||
|
wwHdHCfDQCJHdwdDMdHCcDsLmNVvzVsWrcVNcVzLbrLz
|
||||||
|
dMCCwCtJdwDQJMtjhnvhpPhRZBhR
|
||||||
|
pBqMZfDffmBnvnNmPt
|
||||||
|
rhwLHCChrLPCMNWMCNmW
|
||||||
|
GSMVRSVwHLMRJDQJTZlJZR
|
||||||
|
sfstzPGRRBSngMfQLNNqgWLQLZZNgq
|
||||||
|
scVDjjjCDTVhHlDhHdvvjwjHrZmWQmJmrJJWqNqLJbrcQqZq
|
||||||
|
VvHlVHldTjvhpVplhVThhwjlPFSzPfGzpGBnsRffRRBPPGGF
|
||||||
|
WNFNfnWTSLSJTnWShTvVZCnvrdPrZvddVCrt
|
||||||
|
QwsMjppcpHCPdHsvPZ
|
||||||
|
lcwMGgpcGbzQpMgQwbDjDQZSJTRfShffWNJSSNFFbhSb
|
||||||
|
JDNgTgqDTggQbQGbZDWbJmVJrPVfPjlPfPwlljJC
|
||||||
|
FZzHFSznZZtptHzcSmCVrwfPVcwwVrCcdm
|
||||||
|
nMSStvnZFSHpLLtBtMzHnMWQvNhgDgGNRGNhgqRWTgqg
|
||||||
|
SJcrhvbBLBLrDpllvnwHQRnllHnQ
|
||||||
|
ffsjfMMZfVdCCgCfgTzmzslRtwFwFtTnqqHTJRQnqRqq
|
||||||
|
CVPgmdggVjCJSrhrbrPrrSLW
|
||||||
|
LPtcLtgddLMRRCMRpTBRrZnppvvGRvBw
|
||||||
|
WNNJjDjqSjJSqWqzNqzlSlBTGGFvrppSrwTFpn
|
||||||
|
qbNDWNNHbJqVtctwVmsfLCLP
|
||||||
|
FvSSLMqgvVSQjQfgwpwWpj
|
||||||
|
BthszRPRRNbNtzmHRbHNRNPfwJGcsswWQpffJpfsJcQFwJ
|
||||||
|
bBtzPmRrbBRHtNCzPhqdCLFMLSSvdnvCTnML
|
||||||
|
VPHWJPDjVLDDjDSFDJhgdnNGdbblzTzNjlnNbl
|
||||||
|
ZprsRZMQwwmGZsvtQZgTfggqnbfdTzrbqlTd
|
||||||
|
GZMtsscmsRZswwBQHBhDDJJPPCPWSWCJ
|
||||||
|
mNDNNmmVMSVgGgGGqsqGLhQqsLGhLq
|
||||||
|
nZBTZpJPhCpnnrsqbbcfczJfFccz
|
||||||
|
HpBZZRPRHjnPPjrHnRtCZnBdShDVlMDNDgVmtmDdVDWSdN
|
||||||
|
tBftztmztGBBCBSGHBmhvHHcchbshhThpbLJHJ
|
||||||
|
wwzMrrMnQdldVdMvJTcLNnphphbLJv
|
||||||
|
ZzwPVrWQlwrdStGGCWqDSSGW
|
||||||
|
QwfrQPvhwPfzQrvWWpQpvVGGTDGsjbgNNcbfsGTsDFgG
|
||||||
|
CtddSdZMRRdnJhRnHtZtlRMbGGDjDgggjNTZDNgTGFgGjc
|
||||||
|
mdmdCnHhVWmLmwwL
|
||||||
|
zLcWSWFcPJLWrWLSZrJLjVjHtjVsrdtstHdtVQgg
|
||||||
|
nChlwwnmhlCNqhhjHMgDjVVdwMjdtd
|
||||||
|
CNnBmNNThhhdhCdlBGGlGvNpcJbJLSbcZzcFJzpJTWPbzc
|
||||||
|
LdPZTPVpLCVTtCNsNsfFnlDC
|
||||||
|
SMwqcqcWQMbMhWQzBnsNfsFwrnnNNlrs
|
||||||
|
WMMWhvQRNNNjvLgZ
|
||||||
|
DWFGzrtfsZHZZMLt
|
||||||
|
pNwNzNCNTpppmnvNMTLVjHLBLLjMRTLH
|
||||||
|
PPdlPmJJNNClDdcdDDfWhzrW
|
||||||
|
nSJVSHQQnwLThnhrML
|
||||||
|
ddsjfRdGZjmGjRTwwTZhwrMwWwtb
|
||||||
|
qCdfRdMmgssPfjsdjdPspBzQpScSSCBpzNBQzcQz
|
||||||
|
fJnmRMJrlrmRmTRmbqssWVdqNVQdswdNNb
|
||||||
|
GZggFHGhHHgHSFvtHPPPsfwgwNsVqjqNpNjNNssN
|
||||||
|
PPSPDDBPBmBMlLfmLr
|
||||||
|
BdqdCBqqCVPVTZBrlJcTcTJTcfcbwwmcgv
|
||||||
|
WjGGLzLMhpWQmRGhpHfbhcDhHHHhgcsbJD
|
||||||
|
tQzSGjWRzWBntntrZmVB
|
||||||
|
clfLQLgfzfTLDMwNrNrrNDGCGG
|
||||||
|
tmbpFtBvvmvdQQdFQwMJCG
|
||||||
|
SnbtnqnSbnQQsBqzgLgVsLZTLTPfVg
|
||||||
|
QnQBQQBVzqqzpmfgBpnqSDFPjhhWsFVhlsFFsDstFs
|
||||||
|
MGGrTHcvRTTrrrCDpjvWtFPlFlsvjp
|
||||||
|
bZbpTpJJBBQmBmJf
|
||||||
|
dNVgDdVtPcNPhgTLPLpTPlnTHHRn
|
||||||
|
WrvjvwjWwfwWjGJsrwBjQJjTQLbnSTTmpTRQSTClHTbLmn
|
||||||
|
JqWWGvBJBwGJfJJGvwqZZddFtDFhgDqZhHNM
|
||||||
|
VwJcNgbfvfJbfcmGLZfPhZLfZGTDhP
|
||||||
|
CnnrlBlprsBnzQFntnZLqDhZZqThWGtWWSPL
|
||||||
|
FllFdCjzlsCzjJNJGGJwHHVg
|
||||||
|
fTbVBmNJCJRVbTmbfJFHsDjQHDHQjnQRsvDn
|
||||||
|
cLWcrGtttddMPhrPhPtPrtzsnSQQBvHjFpFSpDHsMjnvjD
|
||||||
|
PrPgPdhGWLrrqgdqcVCffbNblBwfVmwqwC
|
||||||
|
gmBfbmlbBDqrdfrDcJ
|
||||||
|
PwVWrQphQWWhQsJFcMPqzDdcJq
|
||||||
|
QWCSSHpSQWCttQpCRCHNSlZBtrmBZTjvGgZjmBZjBn
|
||||||
|
JrnhMPvtVtPVHJGrBrQwTmQmRGGB
|
||||||
|
pSSZCFClCbbSLbljZlSlFFszzBwcZNwTzQNDmBwGTBNTBz
|
||||||
|
ldsCCjpFjCqdLgsFjpsLFQgtnfqtJvnMtnvhWnHHMnnVWV
|
||||||
|
hzNHzHjWNzwHjjhprpGvGgvGvvpv
|
||||||
|
PLBVVRPDLdrgCdMrdrdC
|
||||||
|
FmBTqTmLPrsFqTBDcTTVtNNJztqWQNQtWWtJqNNz
|
||||||
|
fFffFvFBgHQWHdvfGglBWbqbPSSbSwVntPhZwwbS
|
||||||
|
jJCMzNMCjNCLNMjjphPSPqhbqnwPZLSqZh
|
||||||
|
rNpJJDzpcNMzzdBnGcQTccBvgv
|
||||||
|
FRFMwsrzVtwstgbCHHJJPgNb
|
||||||
|
hfZGhZDnnTTHTCCNzJjH
|
||||||
|
hppDvznmZphZQVFQwFVWlRqFls
|
||||||
|
jrjrgdHdFBZsBlcCGghWNgpgbCCp
|
||||||
|
QwJJqQQMLwPTwLMMwzvzwwzhCWbvcNcCChWpchWbNGfFff
|
||||||
|
qqFQJTmwJSPjZsrlnBjdHm
|
||||||
|
QfffRppWfHpQSrWVpSGmGMMccSjBjmmGmc
|
||||||
|
qdzLvbwzwdsWwnFdBBcBhMjMDvBBcBhc
|
||||||
|
bPdZPqddqzFsZVRptZZQHVWNpN
|
||||||
|
BzBQQHNjTSzzJDDFZFgJDJ
|
||||||
|
qLvCnLpfCpqCnLJhntRglFncDrGrllmZFZlDrc
|
||||||
|
JpqvfhRhLddfpbbtsdJWjHSwHHTNSQNPTVHQTb
|
||||||
|
qVQCCVlQZWgHZMqgqWlrtScFwrmtmcJqSSsSJS
|
||||||
|
MzdnddpNL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mppvp
|
||||||
|
BssqBFtqRHgTqVRC
|
||||||
|
cWTTthtrgrzpCdCddtpz
|
||||||
|
SSSLNJLGLSLfCJfJFQCJzQ
|
||||||
|
swMPMZVMMSlMSZMqVSSHznzcqgzWTHgTnhbnrr
|
||||||
|
RJjjgMjWShPqchtbVBPV
|
||||||
|
DDddwCnZMHLLvDnfLrvvbVbbBtpwVBVPwtVpbcbb
|
||||||
|
zrvnvLrlZCHrfZZLffHZHHTsTmsQgFQSFTMjjQlFTRmR
|
||||||
|
zhTTMLRVTzLbVqwVRJgDQQsSCgCDNgsZCpqp
|
||||||
|
rrmrBmmWrWnHjWnGWrnGnhDHSQgNSpQsCgSNgtNtDDHZ
|
||||||
|
fBrGPGmGPBcTMfLhJVTc
|
||||||
|
TbTCjTBSbCncHsDZDZPhZbzv
|
||||||
|
rMwplFdlWWJMJzhhpGtHtvHSSP
|
||||||
|
fMMfwWdWrNfJNdlVgMcTLTmLffjTqnLScCjL
|
||||||
|
SwhTllwJDwqqBWLBbNtfhjBB
|
||||||
|
mvllZMmRMZGFZRfctLWtWttzfNLR
|
||||||
|
MGvHMCGpVnFGlgvVFFnpnGmmsHrDJJdSsqPqJSqDJJdTTDqD
|
||||||
|
QTTcqJZJhHSpShhFpFzjDDwwsFzpdg
|
||||||
|
NBMnBvmBPvwrqvgvvqgD
|
||||||
|
bNNGmWmbbClQTQRqchhQbf
|
6
2022/inputs/day03-test1
Normal file
6
2022/inputs/day03-test1
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
vJrwpWtwJgWrhcsFMMfFFhFp
|
||||||
|
jqHRNqRjqzjGDLGLrsFMfFZSrLrFZsSL
|
||||||
|
PmmdzqPrVvPwwTWBwg
|
||||||
|
wMqvLMZHhHMvwLHjbvcjnnSBnvTQFn
|
||||||
|
ttgJtRGJQctTZtZT
|
||||||
|
CrZsJsPPZsGzwwsLwLmpwMDw
|
Loading…
Reference in a new issue