Advent of Code 2021 Day 8 (BaseA Style)
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
ACE Emeritus
12-07-2021
03:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
21 REPLIES 21
PangHC
12 - Quasar
12-12-2021
11:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
using the same logic with @SeanAdams but i use Replacechar() and length() for to tackle the sorting.
it reduce the need to sort the alphabet.
Spoiler
cross tab the known digit 1,4,7,8 and append to unknow digit.
apply the logic in.

brute force all 10 signal to the each output digit, use filter to sort the correct digit.

cross tab the known digit 1,4,7,8 and append to unknow digit.
apply the logic in.
brute force all 10 signal to the each output digit, use filter to sort the correct digit.
caitlynmcintyre
9 - Comet
12-16-2021
08:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I thought I was so smart but Part 2 really became one of those crossword book logic puzzles.
If Mary lives on Smith Street with a Chihuahua then Mark must live on Brunswick Street and drive a green car 😩
Spoiler
This is certainly not an elegant solution, but it got me there.


Close up of how i figured out the numbers

- « Previous
- Next »