ishanpranav / intcode

IntCode (Advent of Code 2019) virtual machine in C language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advent of Code 2019

This is a collection of solutions to the Advent of Code 2019 programming problems implemented in the C programming language. I have done my best to minimize time complexity and running time. This repository only includes solutions to the Intcode problems.

Usage

These programs are cross-platform, having been tested on Windows and Linux operating systems.

Important: Use the MEMORY, INPUTS, and OUTPUTS macros to ensure that the program does not run out of memory and invoke undefined behavior.

Constraints

I am working within the following constraints to ensure high code quality.

  • Adhere to the project style guide.
  • Final solutions must be implemented in the C programming language following the C99 standard.
  • Bounds checking is not required for data structures whose capacity is defined by a macro.
  • The return values of all C standard library functions must be checked, except for those returned from the following:
    • fprintf
    • memcpy
    • printf

Attribution

This repository redistributes cbraudo/qdbmp (Quick n' Dirty BMP Library) by Chai Braudo. This component is required for Day 11(b) and is distributed under the MIT license.

About

IntCode (Advent of Code 2019) virtual machine in C language

License:MIT License


Languages

Language:C 80.1%Language:Makefile 9.6%Language:Shell 5.7%Language:CSV 4.6%