/in/foo.cc:35:15: error: 'uint64_t' does not name a type
35 | static inline uint64_t enc(int t, int a, int b, int ha, int hb, int ht) {
| ^~~~~~~~
/in/foo.cc:6:1: note: 'uint64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
5 | #include <unordered_set>
+++ |+#include <cstdint>
6 | using namespace std;
/in/foo.cc: In function 'int main()':
/in/foo.cc:59:19: error: 'uint64_t' was not declared in this scope
59 | unordered_set<uint64_t> seen;
| ^~~~~~~~
/in/foo.cc:59:19: note: 'uint64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
/in/foo.cc:59:27: error: template argument 1 is invalid
59 | unordered_set<uint64_t> seen;
| ^
/in/foo.cc:59:27: error: template argument 2 is invalid
/in/foo.cc:59:27: error: template argument 3 is invalid
/in/foo.cc:59:27: error: template argument 4 is invalid
/in/foo.cc:63:10: error: request for member 'insert' in 'seen', which is of non-class type 'int'
63 | seen.insert(enc(st0.t, st0.a, st0.b, st0.ha, st0.hb, st0.ht));
| ^~~~~~
/in/foo.cc:63:17: error: 'enc' was not declared in this scope
63 | seen.insert(enc(st0.t, st0.a, st0.b, st0.ha, st0.hb, st0.ht));
| ^~~
/in/foo.cc:137:25: error: expected ';' before 'key'
137 | uint64_t key = enc(nt, cb1, cb2, ch1, ch2, nht);
| ^~~~
| ;
/in/foo.cc:138:26: error: request for member 'find' in 'seen', which is of non-class type 'int'
138 | if (seen.find(key) != seen.end()) continue;
| ^~~~
/in/foo.cc:138:31: error: 'key' was not declared in this scope
138 | if (seen.find(key) != seen.end()) continue;
| ^~~
/in/foo.cc:138:44: error: request for member 'end' in 'seen', which is of non-class type 'int'
138 | if (seen.find(key) != seen.end()) continue;
| ^~~
/in/foo.cc:139:22: error: request for member 'insert' in 'seen', which is of non-class type 'int'
139 | seen.insert(key);
| ^~~~~~
/in/foo.cc:139:29: error: 'key' was not declared in this scope
139 | seen.insert(key);
| ^~~