bjorng

bjorng

Erlang Core Team

Note: This topic is to talk about Day 19 of the Advent of Code 2019.

There is a private leaderboard for elixirforum members. You can join it by following this link and entering the following code:

39276-eeb74f9a

First Post!

bjorng

bjorng OP

Erlang Core Team

Here is my solution.

It finishes in about 5 seconds. That’s fast enough for me, so I didn’t try any optimizations. There is a another puzzle that better needs my optimization efforts.

UPDATE: I realized that it is much faster to first test that the lower right corner of the ship fits. My optimized solution reduces the runtime to 0.8 seconds.

Most Liked

milli

milli

Today’s puzzle was nice and easy, once I’ve got an idea how to solve it. Here’s my solution.

ihabunek

ihabunek

After yesterday, this was nice and doable. :slight_smile:
https://git.sr.ht/~ihabunek/aoc2019/tree/master/lib/day19.ex

Last Post!

ferd

ferd

Author of Property-Based Testing with PropEr, LYSE, & Erlang in Anger

E: this is after the fact but I thought of an additional optimization and now part 2 finishes in 500ms:

code is at: day19.erl · GitHub

Where Next? Top

Trending in Challenges Top

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New

Latest on Elixir Forum

Elixir Forum

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews