message.cpp: In function 'void send_message(std::vector<bool>, std::vector<bool>)':
message.cpp:20:9: error: 'uint32_t' was not declared in this scope
20 | uint32_t word = 0;
| ^~~~~~~~
message.cpp:2:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
1 | #include <vector>
+++ |+#include <cstdint>
2 | using namespace std;
message.cpp:23:13: error: 'word' was not declared in this scope
23 | word |= (idx < L && M[idx]) ? (1u << i) : 0u;
| ^~~~
message.cpp:29:22: error: 'word' was not declared in this scope
29 | if ((word >> j) & 1u) bit ^= (GEN[j] >> i) & 1u;
| ^~~~
message.cpp: In function 'std::vector<bool> receive_message(std::vector<std::vector<bool> >)':
message.cpp:42:9: error: 'uint32_t' was not declared in this scope
42 | uint32_t word = 0;
| ^~~~~~~~
message.cpp:42:9: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
message.cpp:48:13: error: 'word' was not declared in this scope
48 | word |= (val & 1) << bit;
| ^~~~
message.cpp:51:28: error: 'word' was not declared in this scope
51 | out.push_back((word >> i) & 1);
| ^~~~