Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 842 Bytes

readme.md

File metadata and controls

42 lines (33 loc) · 842 Bytes

My solution for Advent of code 2022

Structure of the repository

day%d/
    | small_input.txt
    | input.txt
    | first_half.[py|c|hs]
    | second_half.[py|c|hs]

Each folder contain both inputs and problems of the day.
Example input is localed in small_input.txt, and the actual input of the problem is localted in input.txt.
The programming language used in each day is decided by my mood.

Language used so far

  • Python (day 1, 3, 5, 7, 8, 9, 10)
  • Haskell (day 2, 6)
  • C (day 4)

How to run

Python3 (require python 3 interpreter)

python file-name.py

C (require gcc for compilation)

gcc file-name.c -o file_name
./file_name

Haskell (require ghc for complication)

ghc file-name.hs
./file-name

Source of problems

Advent of Code 2022