sumzero.cpp: In function 'int main()':
sumzero.cpp:38:18: error: 'k' was not declared in this scope
38 | vector<int> gr(k);
| ^
sumzero.cpp:40:3: error: 'unoredered_set' was not declared in this scope
40 | unoredered_set<int> gg;
| ^~~~~~~~~~~~~~
sumzero.cpp:4:13: error: expected primary-expression before 'long'
4 | #define int long long
| ^~~~
sumzero.cpp:40:18: note: in expansion of macro 'int'
40 | unoredered_set<int> gg;
| ^~~
sumzero.cpp:48:21: error: no match for 'operator[]' (operand types are 'std::pair<const long long int, long long int>' and 'int')
48 | int qq = (*it)[0], pp = (*it)[1];
| ^
sumzero.cpp:50:13: error: 'pp' was not declared in this scope; did you mean 'pr'?
50 | m = pp;
| ^~
| pr
sumzero.cpp:52:19: error: cannot convert 'std::pair<const long long int, long long int>' to '__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type' {aka 'long long int'} in assignment
52 | gr[ind] = *it;
| ^~~
| |
| std::pair<const long long int, long long int>
sumzero.cpp:54:15: error: cannot convert 'std::pair<const long long int, long long int>' to 'long long int' in assignment
54 | ind = *it;
| ^~~
| |
| std::pair<const long long int, long long int>