bjorng

bjorng

Erlang Core Team

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

For general discussion about the Advent of Code 2018 and links to topics of the other days, see this topic.

Showing Posts 3 to 1

stefanchrobot

stefanchrobot

Although both can be checked with the same condition, I’m wondering if everybody had the same case since there can be two:

  1. there’s a point when the target selection process ends up picking immune groups for both sides,
  2. none of the groups is powerful enough to deal any damage (effective power < hit points).
sasajuric

sasajuric

Author of Elixir In Action

Here’s mine, which takes about 7 seconds.

bjorng

bjorng OP

Erlang Core Team

It was a relief that today’s puzzle was relatively straight-forward. Only a lot of details to keep straight. Then in part 2 there could be a stalemate, where neither the immune system nor the infection could win.

Here is my solution for day 24.

It runs in 3 seconds.

— All posts loaded —

Where Next? Top

Trending in Challenges Top

Other Trending Topics Top

GenericJam
Edit: 2026 May 15 - This post is archived. Mob is alive!! Main docs: mob v0.7.11 — Documentation A bit of explanation for the slightly c...
New
budgie
A little off-topic, but I feel like people here have a good head on their shoulders. I used to be quite good at making software. Was luc...
New
KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
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
juhalehtonen
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews