Add includes of cassert

This commit is contained in:
2023-11-30 20:29:35 +00:00
parent f421aee783
commit be27621663
41 changed files with 140 additions and 77 deletions

View File

@@ -1,6 +1,7 @@
#include <iostream>
#include <string>
#include <vector>
#include <cassert>
using UInt = unsigned long;
@@ -9,6 +10,7 @@ struct Item
UInt value_;
unsigned depth_;
};
using Items = std::vector<Item>;
auto print1(Items::const_iterator begin, Items::const_iterator end, unsigned current_depth)