Skip to content

ishanpranav/intcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 macro to ensure that enough memory has been allocated.

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.
  • All solutions must be standalone files with no external dependencies beyond the C standard library (libc) and the C mathematics library (libm). The first and second problems for a given day must be implemented separately.
  • 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

About

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

Topics

Resources

License

Stars

Watchers

Forks