Skip to content

Commit 0746dde

Browse files
author
bt
committed
day4: fix build
1 parent d429503 commit 0746dde

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

include/common_headers.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
#include "utils/input_parser.hpp"
33

44
#include <algorithm>
5+
#include <cstdint>
56
#include <iostream>
67
#include <fstream>
78
#include <charconv>
89
#include <vector>
10+
#include <string>
911
#include <stdexcept>
1012
#include <numeric>
1113
#include <unordered_map>

src/day4.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#include "common_headers.hpp"
22

3+
#include <array>
4+
5+
36
/*
47
Part 1.
58
The task is to count the word `XMAS` horizontally, vertically, diagonally.

0 commit comments

Comments
 (0)