Add solution for 2016 Day 22
This commit is contained in:
1 parent
c62c9dc3de
commit
bec8be80a3
3 files changed
+129
-8
No files matched your search
@@ -500,6 +500,11 @@ struct Array2D
|
||||
return ConstIterator{*this, Index2D{0, height}};
|
||||
}
|
||||
|
||||
bool operator<(const Array2D<T>& other) const
|
||||
{
|
||||
return array2D < other.array2D;
|
||||
}
|
||||
|
||||
friend std::ostream& operator<<(std::ostream& os, const Array2D& array2D)
|
||||
{
|
||||
for (int y = 0; y < array2D.height; y++)
|
||||
|
||||
Reference in new issue
Block a user