[2020] Optimized solutions in C++ (291 ms total)

This page summarizes the projects mentioned and recommended in the original post on /r/adventofcode

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • aoc-2020

    Advent of Code 2020 (by aldanor)

  • Figured I'd post my benches as well, see below. Everything done in Rust (link to source).

  • I only tried to optimize the first 14 days so far, and to my surprise I have a few times that are slightly better than yours, with an AMD Ryzen 5 3600. My solutions (WIP) are here.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • aoc2020

    Discontinued Advent of Code 2020 (by ednl)

  • Day 23 part 2 in 0.06 s on a dual core 1.3 GHz i5 Haswell (2013 MB Air) https://github.com/ednl/aoc2020/blob/main/day23.c because of a simple array as a linked list.

  • advent2020

    Advent of Code 2020 solutions in C++ (by bustercopley)

  • Building and running your code here, I get incorrect results for Day 11. For example, on my input the correct (accepted) answers are 2275, 2121 but my build of your repo says 1228,1132. I don't think the output for your input is correct either. Do you get the correct answers on your computer?

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts