Welcometofish,thefriendlyinteractiveshelled@nix~/AoC2020>ed@nix~/AoC2020>aed@nix~/AoC2020>aed@nix~/AoC2020>aoed@nix~/AoC2020>aocfinput>inputed@nix~/AoC2020>aocfinitinitialisedconfigat/home/ed/AoC2020/.aocf/configed@nix~/AoC2020>aocfinited@nix~/AoC2020>aocfget-cookiefoundcookiestore:/home/ed/.mozilla/firefox/qb8fgwdu.default/cookies.sqliteed@nix~/AoC2020>aocfget-cookieed@nix~/AoC2020>aocfsed@nix~/AoC2020>aocfstatused@nix~/AoC2020>aocfstatused@nix~/AoC2020>aocfstatused@nix~/AoC2020>aocfstatused@nix~/AoC2020>aocfstatused@nix~/AoC2020>aocfstatusyear:2015day:1level:firsted@nix~/AoC2020>aocfstatused@nix~/AoC2020>aocfstatused@nix~/AoC2020>aocfstatused@nix~/AoC2020>aocfstatused@nix~/AoC2020>aocfstatused@nix~/AoC2020>aocfstatused@nix~/AoC2020>aocfcheckout1ed@nix~/AoC2020>aocfcheckout1ed@nix~/AoC2020>aocfcheckout12020switchedtoyear2020,day1ed@nix~/AoC2020>aocfcheckout12020year:2020ed@nix~/AoC2020>aocfbed@nix~/AoC2020>aocfbrief--pretty--forceed@nix~/AoC2020>aocfbrief--pretty--- Day 1: Report Repair ---―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――After saving Christmas [five years in a row](/events), you've decided to takea vacation at a nice resort on a tropical island. Surely, Christmas will go onwithout you.without you.The tropical island has its own currency and is entirely cash-only. The goldThe tropical island has its own currency and is entirely cash-only. The goldcoins used there have a little picture of a starfish; the locals just call themcoins used there have a little picture of a starfish; the locals just call themstarsstars. None of the currency exchanges seem to have heard of them, butsomehow, you'll need to find fifty of these coins by the time you arrive so yousomehow, you'll need to find fifty of these coins by the time you arrive so youcan pay the deposit on your room.can pay the deposit on your room.To save your vacation, you need to get allfifty starsTo save your vacation, you need to get allfifty starsby December 25th.Collect stars by solving puzzles. Two puzzles will be made available on eachCollect stars by solving puzzles. Two puzzles will be made available on eachday in the Advent calendar; the second puzzle is unlocked when you complete thefirst. Each puzzle grantsone star. Good luck!first. Each puzzle grantsone star. Good luck!Before you leave, the Elves in accounting just need you to fix yourexpenseBefore you leave, the Elves in accounting just need you to fix yourexpensereportreport(your puzzle input); apparently, something isn't quite adding up.report(your puzzle input); apparently, something isn't quite adding up.Specifically, they need you toSpecifically, they need you tofind the two entries that sum to2020and thenmultiply those two numbers together.multiply those two numbers together.―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――oins used there have a little picture of a starfish; the locals just call themTo save your vacation, you need to get allfirst. Each puzzle grants the second puzzle is unlocked when you complete thereportyou leave, the Elves in accounting just need you to fix yourexpenseSpecifically, they need you toSpecifically, they need you tofind the two entries that sum toAfter saving Christmas [five years in a row](/events), you've decided to takeThe tropical island has its own currency and is entirely cash-only. The goldstarsused there have a little picture of a starfish; the locals just call themTo save your vacation, you need to get allfifty starsby December 25th.Collect stars by solving puzzles. Two puzzles will be made available on eachday in the Advent calendar; the second puzzle is unlocked when you complete thefirst. Each puzzle grantsone star. Good luck!s unlocked when you complete thefirst. Each puzzle grantsone star. Good luck!Before you leave, the Elves in accounting just need you to fix yourreport(your puzzle input); apparently, something isn't quite adding up.multiply those two numbers together.the two entries that sum to2020and thenFor example, suppose your expense report contained the following:For example, suppose your expense report contained the following:a vacation at a nice resort on a tropical island. Surely, Christmas will go onday in the Advent calendar; the second puzzle is unlocked when you complete thefirst. Each puzzle grants the second puzzle is unlocked when you complete thefirst. Each puzzle grantsone starond puzzle is unlocked when you complete thefirst. Each puzzle grantsone star. Good luck!s unlocked when you complete thefirst. Each puzzle grantsone star. Good luck!Before you leave, the Elves in accounting just need you to fix yourexpensereport(your puzzle input); apparently, something isn't quite adding up.nseSpecifically, they need you tofind the two entries that sum to2020Specifically, they need you tofind the two entries that sum to2020and thenwithout you.stars. None of the currency exchanges seem to have heard of them, butcall themstars. None of the currency exchanges seem to have heard of them, butBefore you leave, the Elves in accounting just need you to fix yourexpense1721The tropical island has its own currency and is entirely cash-only. The goldBefore you leave, the Elves in accounting just need you to fix yourreport(your puzzle input); apparently, something isn't quite adding up.979coins used there have a little picture of a starfish; the locals just call themstars. None of the currency exchanges seem to have heard of them, butTo save your vacation, you need to get allfifty starsSpecifically, they need you tofind the two entries that sum to2020and then366somehow, you'll need to find fifty of these coins by the time you arrive so youSpecifically, they need you toSpecifically, they need you tofind the two entries that sum tomultiply those two numbers together.979366299can pay the deposit on your room.report(your puzzle input); apparently, something isn't quite adding up.nseFor example, suppose your expense report contained the following:299675To save your vacation, you need to get allTo save your vacation, you need to get allfifty starsby December 25th.Specifically, they need you tofind the two entries that sum to2020172114569793662996751456reportyou leave, the Elves in accounting just need you to fix yourexpense17219791675In this list, the two entries that sum to2020are1721and299In this list, the two entries that sum to2020are1721and299. MultiplyingIn this list, the two entries that sum to2020are1721and299. Multiplyingmultiply those two numbers together.the two entries that sum to2020and then1456them together produces1721 * 299 = 514579, so the correct answer is iplyingthem together produces1721 * 299 = 514579, so the correct answer is514579.In this list, the two entries that sum to2020are1721andIn this list, the two entries that sum to2020are1721and299. Multiplyingthem together produces1721 * 299 = 514579, so the correct answer is514579.them together produces1721 * 299 = 514579, so the correct answer is514579.Of course, your expense report is much larger.Of course, your expense report is much larger.Find the two entries that sumOf course, your expense report is much larger.Find the two entries that sumIn this list, the two entries that sum tothem together produces ntries that sum to2020are1721and299. Multiplyingthem together produces1721 * 299 = 514579, so the correct answer is iplyingtocourse, your expense report is much larger.Find the two entries that sumto2020; what do you get if you multiply them together?In this list, the two entries that sum to2020Of course, your expense report is much larger.Of course, your expense report is much larger.Find the two entries that sumto2020; what do you get if you multiply them together?to2020; what do you get if you multiply them together?to2020se, your expense report is much larger.Find the two entries that sumTo begin, [get your puzzle input](1/input).To begin, [get your puzzle input](1/input).In this list, the two entries that sum to2020are1721and299them together produces1721 * 299 = 514579, so the correct answer is514579gto2020; what do you get if you multiply them together? two entries that sumTo begin, [get your puzzle input](1/input).tocourse, your expense report is much larger.Find the two entries that sumAnswer:ed@nix~/AoC2020>.ed@nix~/AoC2020>./your-codeed@nix~/AoC2020>./your-codeed@nix~/AoC2020>./your-code--part2ed@nix~/AoC2020>./your-codeTheansweris1006176!ed@nix~/AoC2020>aocfbrief--prettyed@nix~/AoC2020>aocfbrief--prettyed@nix~/AoC2020>aocfbrief--prettyed@nix~/AoC2020>aocfbrief--prettyed@nix~/AoC2020>aocfbrief--prettyed@nix~/AoC2020>aocfbrief--prettyed@nix~/AoC2020>aocfsued@nix~/AoC2020>aocfsubmit649ed@nix~/AoC2020>aocfsubmit1006176ed@nix~/AoC2020>aocfsubmit1006176That'stherightanswer!Youareonegoldstarclosertosavingyourvacation.[[ContinuetoPartTwo]](/2020/day/1#part2)ed@nix~/AoC2020>aocfsubmit1006176level:secondtitle:ReportRepairstars:*coins used there have a little picture of a starfish; the locals just call themstars. None of the currency exchanges seem to have heard of them, butcan pay the deposit on your room.To save your vacation, you need to get allfifty starsby December 25th.To save your vacation, you need to get allfifty starsby December 25th.Collect stars by solving puzzles. Two puzzles will be made available on eachfirst. Each puzzle grantsfirst. Each puzzle grantsone star. Good luck!Before you leave, the Elves in accounting just need you to fix yourBefore you leave, the Elves in accounting just need you to fix yourexpenseSpecifically, they need you tofind the two entries that sum towithout you.t a nice resort on a tropical island. Surely, Christmas will go onTo save your vacation, you need to get allfifty starscan pay the deposit on your room. of these coins by the time you arrive so youfirst. Each puzzle grantsone starond puzzle is unlocked when you complete the9791Your puzzle answer was1006176.The first half of this puzzle is complete! It provides one gold star:*--- Part Two ---The Elves in accounting are thankful for your help; one of them even offersyou a starfish coin they had left over from a past vacation. They offer you asecond one if you can findthreenumbers in your expense report that meet thesame criteria.Using the above example again, the three entries that sum to2020are979,366, and675. Multiplying them together produces the answer,241861950.In your expense report,what is the product of the three entries that sum to2020?ed@nix~/AoC2020>./your-code--part2Theansweris199132160!ed@nix~/AoC2020>aocfsubmit1006176ed@nix~/AoC2020>aocfsubmit199132160ed@nix~/AoC2020>aocfsubmit199132160That'stherightanswer!Youareonegoldstarclosertosavingyourvacation.YouhavecompletedDay1!Youcan[Shareon[Twitter](https://twitter.com/intent/tweet?text=I+just+completed+%22Report+Repair%22+%2D+Day+1+%2D+Advent+of+Code+2020&url=https%3A%2F%2Fadventofcode%2Ecom%2F2020%2Fday%2F1&related=ericwastl&hashtags=AdventOfCode)[Mastodon](javascript:void(0);)]thisvictoryor[[ReturntoYourAdventCalendar]](/2020).ed@nix~/AoC2020>asciinemareced@nix~/AoC2020>aocfinput>inputed@nix~/AoC2020>aocfinput>inputed@nix~/AoC2020>aocfinput>inputed@nix~/AoC2020>aocfinput>inputed@nix~/AoC2020>aocfinput>inputed@nix~/AoC2020>aocfinput>inputed@nix~/AoC2020>aocfinied@nix~/AoC2020>aocfinited@nix~/AoC2020>aocfinited@nix~/AoC2020>aocfinited@nix~/AoC2020>aocfinited@nix~/AoC2020>aocfinited@nix~/AoC2020>aocfinited@nix~/AoC2020>aocfged@nix~/AoC2020>aocfged@nix~/AoC2020>aocfget-cookieed@nix~/AoC2020>aocfget-cookieed@nix~/AoC2020>aocfget-cookieed@nix~/AoC2020>aocfget-cookieed@nix~/AoC2020>aocfget-cookieed@nix~/AoC2020>aocfget-cookieed@nix~/AoC2020>aocfget-cookieed@nix~/AoC2020>aocfget-cookieed@nix~/AoC2020>aocfget-cookieed@nix~/AoC2020>aocfget-cookieed@nix~/AoC2020>aocfget-cookieed@nix~/AoC2020>aocfget-cookieed@nix~/AoC2020>aocfget-cookieed@nix~/AoC2020>aocfget-cookieed@nix~/AoC2020>aocfced@nix~/AoC2020>aocfcheckout1ed@nix~/AoC2020>aocfcheckout1ed@nix~/AoC2020>aocfcheckout1ed@nix~/AoC2020>aocfcheckout1ed@nix~/AoC2020>aocfcheckout1ed@nix~/AoC2020>aocfcheckout1ed@nix~/AoC2020>aocfcheckout1ed@nix~/AoC2020>aocfcheckout1ed@nix~/AoC2020>aocfcheckout12020ed@nix~/AoC2020>aocfcheckout12020ed@nix~/AoC2020>aocfcheckout12020ed@nix~/AoC2020>aocfcheckout12020ed@nix~/AoC2020>aocfcheckout12020ed@nix~/AoC2020>aocfcheckout12020ed@nix~/AoC2020>aocfcheckout12020ed@nix~/AoC2020>aocfcheckout12020ed@nix~/AoC2020>aocfcheckout12020ed@nix~/AoC2020>aocfcheckout12020ed@nix~/AoC2020>aocfbed@nix~/AoC2020>aocfbrief--pretty--forceed@nix~/AoC2020>aocfbrief--pretty--forceed@nix~/AoC2020>aocfbrief--pretty--forceed@nix~/AoC2020>aocfbrief--pretty--forceed@nix~/AoC2020>aocfbrief--pretty--forceed@nix~/AoC2020>aocfbrief--pretty--forceed@nix~/AoC2020>aocfbrief--pretty--forceed@nix~/AoC2020>aocfbrief--pretty--forceed@nix~/AoC2020>aocfbrief--pretty--forceed@nix~/AoC2020>aocfbrief--pretty--forceed@nix~/AoC2020>aocfbrief--pretty--forceed@nix~/AoC2020>aocfbrief--pretty--forceed@nix~/AoC2020>aocfbrief--pretty--forceAfter saving Christmas [five years in a row](/events), you've decided to takeSpecifically, they need you tofind the two entries that sum to2020and thenIn this list, the two entries that sum to2020In this list, the two entries that sum to2020are1721them together produces ntries that sum to2020are1721and299. Multiplyingthem together produces1721 * 299 = 514579, so the correct answer is514579gto2020se, your expense report is much larger.Find the two entries that sumto2020; what do you get if you multiply them together? two entries that sumthem together produces1721 * 299 = 5145792020are1721and299. MultiplyingIn this list, the two entries that sum to2020are1721In this list, the two entries that sum to2020areAnswer:ed@nix~/AoC2020>.ed@nix~/AoC2020>./your-codeed@nix~/AoC2020>./your-codeed@nix~/AoC2020>./your-codeed@nix~/AoC2020>./your-codeed@nix~/AoC2020>./your-codeed@nix~/AoC2020>./your-codeed@nix~/AoC2020>./your-code--part2ed@nix~/AoC2020>aocfsubmit649ed@nix~/AoC2020>aocfsubmit649ed@nix~/AoC2020>aocfsubmit649ed@nix~/AoC2020>aocfsubmit649ed@nix~/AoC2020>aocfsubmit1006176ed@nix~/AoC2020>aocfsubmit1006176ed@nix~/AoC2020>aocfsubmit1006176ed@nix~/AoC2020>aocfsubmit1006176ed@nix~/AoC2020>aocfsubmit1006176ed@nix~/AoC2020>aocfsubmit1006176ed@nix~/AoC2020>aocfsubmit1006176ed@nix~/AoC2020>aocfsted@nix~/AoC2020>aocfbrief--prettyed@nix~/AoC2020>aocfbrief--prettyed@nix~/AoC2020>aocfbrief--prettyed@nix~/AoC2020>aocfbrief--prettyed@nix~/AoC2020>aocfbrief--prettyAfter saving Christmas [five years in a row](/events), you've decided to takeThe tropical island has its own currency and is entirely cash-only. The goldstars. None of the currency exchanges seem to have heard of them, butsomehow, you'll need to find fifty of these coins by the time you arrive so youcan pay the deposit on your room.To save your vacation, you need to get allday in the Advent calendar; the second puzzle is unlocked when you complete thefirst. Each puzzle grantsone starreport(your puzzle input); apparently, something isn't quite adding up.Specifically, they need you tofind the two entries that sum to2020a vacation at a nice resort on a tropical island. Surely, Christmas will go onoins used there have a little picture of a starfish; the locals just call themwing:starsused there have a little picture of a starfish; the locals just call themcan pay the deposit on your room. of these coins by the time you arrive so youIn this list, the two entries that sum to2020are1721andtolect stars by solving puzzles. Two puzzles will be made available on eachto2020; what do you get if you multiply them together?ade available on eachYour puzzle answer was ntsone star. Good luck!Your puzzle answer was1006176.The first half of this puzzle is complete! It provides one gold star:*--- Part Two ---―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――The Elves in accounting are thankful for your help; one of them even offersThe Elves in accounting are thankful for your help; one of them even offersyou a starfish coin they had left over from a past vacation. They offer you asecond one if you can findsecond one if you can findthreenumbers in your expense report that meet thesecond one if you can findthreenumbers in your expense report that meet thesame criteria.1721Using the above example again, the three entries that sum to2020Using the above example again, the three entries that sum to2020are979,366Using the above example again, the three entries that sum to2020are979,366, and299, and675. Multiplying them together produces the answer,241861950.In your expense report,what is the product of the three entries that sum toIn your expense report,what is the product of the three entries that sum to20202020?Answer: list, the two entries that sum to2020are1721and299. Multiplyinged@nix~/AoC2020>./your-code--part2ed@nix~/AoC2020>aocfsubmit1006176ed@nix~/AoC2020>aocfsubmit1006176ed@nix~/AoC2020>aocfsubmit1006176ed@nix~/AoC2020>aocfsubmit1006176