transfer.cpp: In function 'std::vector<int> get_attachment(std::vector<int>)':
transfer.cpp:35:5: error: 'assert' was not declared in this scope
35 | assert(false);
| ^~~~~~
transfer.cpp:2:1: note: 'assert' is defined in header '<cassert>'; did you forget to '#include <cassert>'?
1 | #include "transfer.h"
+++ |+#include <cassert>
2 | using namespace std;
transfer.cpp: At global scope:
transfer.cpp:75:1: error: 'mt19937' does not name a type
75 | mt19937 rng((unsigned int) chrono::steady_clock::now().time_since_epoch().count());
| ^~~~~~~
transfer.cpp: In function 'int rand_int(int, int)':
transfer.cpp:78:12: error: 'uniform_int_distribution' was not declared in this scope
78 | return uniform_int_distribution<int>(a, b)(rng);
| ^~~~~~~~~~~~~~~~~~~~~~~~
transfer.cpp:78:37: error: expected primary-expression before 'int'
78 | return uniform_int_distribution<int>(a, b)(rng);
| ^~~
transfer.cpp:78:37: error: expected ';' before 'int'
78 | return uniform_int_distribution<int>(a, b)(rng);
| ^~~
| ;
transfer.cpp:78:40: error: expected unqualified-id before '>' token
78 | return uniform_int_distribution<int>(a, b)(rng);
| ^