Richard Smith ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) 1 月之前
..
BUILD 7f0f402f95 Add advent of code 2024 day 14 and day 15 part 1 solutions (#6597) 3 月之前
README.md d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) 1 年之前
day10_common.carbon ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) 1 月之前
day10_part1.carbon ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) 1 月之前
day10_part2.carbon ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) 1 月之前
day11_common.carbon c9e4761f0c Modernize some of our examples. (#5655) 10 月之前
day11_part1.carbon 4ddba4ab1e Modernize advent of code examples (#6496) 4 月之前
day11_part2.carbon ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) 1 月之前
day12_common.carbon ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) 1 月之前
day12_part1.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) 10 月之前
day12_part2.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) 10 月之前
day13_common.carbon ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) 1 月之前
day13_part1.carbon 4ddba4ab1e Modernize advent of code examples (#6496) 4 月之前
day13_part2.carbon 4ddba4ab1e Modernize advent of code examples (#6496) 4 月之前
day14_common.carbon ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) 1 月之前
day14_part1.carbon 7f0f402f95 Add advent of code 2024 day 14 and day 15 part 1 solutions (#6597) 3 月之前
day14_part2.carbon 7f0f402f95 Add advent of code 2024 day 14 and day 15 part 1 solutions (#6597) 3 月之前
day15_common.carbon ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) 1 月之前
day15_part1.carbon 7f0f402f95 Add advent of code 2024 day 14 and day 15 part 1 solutions (#6597) 3 月之前
day1_common.carbon 4ddba4ab1e Modernize advent of code examples (#6496) 4 月之前
day1_part1.carbon 4ddba4ab1e Modernize advent of code examples (#6496) 4 月之前
day1_part2.carbon 4ddba4ab1e Modernize advent of code examples (#6496) 4 月之前
day2_common.carbon d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) 1 年之前
day2_part1.carbon 4ddba4ab1e Modernize advent of code examples (#6496) 4 月之前
day2_part2.carbon 4ddba4ab1e Modernize advent of code examples (#6496) 4 月之前
day3_common.carbon 4ddba4ab1e Modernize advent of code examples (#6496) 4 月之前
day3_part1.carbon 4ddba4ab1e Modernize advent of code examples (#6496) 4 月之前
day3_part2.carbon 4ddba4ab1e Modernize advent of code examples (#6496) 4 月之前
day4_common.carbon ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) 1 月之前
day4_part1.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) 10 月之前
day4_part2.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) 10 月之前
day5_common.carbon ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) 1 月之前
day5_part1.carbon d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) 1 年之前
day5_part2.carbon d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) 1 年之前
day6_common.carbon ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) 1 月之前
day6_part1.carbon d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) 1 年之前
day6_part2.carbon 57a2715f10 Remove support for `addr` (#6375) 5 月之前
day7_common.carbon ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) 1 月之前
day7_part1.carbon 4ddba4ab1e Modernize advent of code examples (#6496) 4 月之前
day7_part2.carbon 4ddba4ab1e Modernize advent of code examples (#6496) 4 月之前
day8_common.carbon ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) 1 月之前
day8_part1.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) 10 月之前
day8_part2.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) 10 月之前
day9_common.carbon ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) 1 月之前
day9_part1.carbon 4ddba4ab1e Modernize advent of code examples (#6496) 4 月之前
day9_part2.carbon 4ddba4ab1e Modernize advent of code examples (#6496) 4 月之前
io_utils.carbon 7f0f402f95 Add advent of code 2024 day 14 and day 15 part 1 solutions (#6597) 3 月之前
sort.carbon 4ddba4ab1e Modernize advent of code examples (#6496) 4 月之前

README.md

Advent of Code 2024

This directory contains sample solutions written in Carbon for Advent of Code 2024.

The Carbon toolchain is in a very early state, so these samples frequently need to work around missing functionality and are not reflective of expected Carbon style and idioms. Instead, the purpose of these examples are to test the current state of the toolchain against larger code examples than those that are present in the toolchain's own tests, to find bugs in the toolchain, and to drive feature development in the toolchain by presenting somewhat realistic testcases.

If one of these examples stops building after a change to the toolchain, please:

  • Make sure that the build break is an expected consequence of the change.
  • Update the BUILD file to exclude that example.
  • File an issue and assign it to @zygoloid.