|
3 | 3 | This is a collection of solutions to the |
4 | 4 | [Advent of Code 2019](https://adventofcode.com/2019) programming problems |
5 | 5 | implemented in the C programming language. I have done my best to minimize time |
6 | | -complexity and running time. |
| 6 | +complexity and running time. This repository only includes solutions to the |
| 7 | +[Intcode](https://esolangs.org/wiki/Intcode) problems. |
7 | 8 |
|
8 | 9 | Some of the more complex problems were implemented in a |
9 | 10 | [higher-level programming language](ref/) before being converted to C. The |
@@ -32,22 +33,13 @@ I am working within the following constraints to ensure high code quality. |
32 | 33 | - Final solutions must be implemented in the C programming language following |
33 | 34 | the C99 standard. |
34 | 35 | - Assume signed integer overflow is defined based on two\'s complement. |
35 | | -- All solutions must be standalone files with no user-defined headers and no |
36 | | - external dependencies beyond the C standard library (`libc`) and the C |
37 | | - mathematics library (`libm`). The first and second problems for a given day |
38 | | - must be implemented separately. |
| 36 | +- All solutions must be standalone files with no external dependencies beyond |
| 37 | + the C standard library (`libc`) and the C mathematics library (`libm`). The |
| 38 | + first and second problems for a given day must be implemented separately. |
39 | 39 | - Bounds checking is not required for data structures whose capacity is defined |
40 | 40 | by a macro. |
41 | 41 | - The return values of all C standard library functions must be checked, except |
42 | 42 | for those returned from the following: |
43 | 43 | - `fprintf` |
44 | 44 | - `memcpy` |
45 | 45 | - `printf` |
46 | | - |
47 | | -## Omissions |
48 | | - |
49 | | -- The solution must produce the correct result for the [examples](data/), not |
50 | | - just the personalized puzzle input. This means that the efficient solutions to |
51 | | - Day 10(b) and Day 21(b) are unfeasible. I have omitted both. |
52 | | -- By design, there is no efficient solution to Day 23(a) and (b). I have |
53 | | - omitted both. |
0 commit comments