Problem 4sum
User dacashew
Submission Time 2023-01-06 19:55:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

4sum.cpp: In function ‘int main()’:
4sum.cpp:7:16: error: expected primary-expression before ‘<’ token
7 | #define hashmap<int,pair<int,int>> unordered map<int,pair<int,int>>
| ^
4sum.cpp:25:2: note: in expansion of macro ‘hashmap’
25 | hashmap<int,pair<int,int>> m;
| ^~~~~~~
4sum.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
4sum.cpp:7:17: note: in expansion of macro ‘int’
7 | #define hashmap<int,pair<int,int>> unordered map<int,pair<int,int>>
| ^~~
4sum.cpp:25:2: note: in expansion of macro ‘hashmap’
25 | hashmap<int,pair<int,int>> m;
| ^~~~~~~
4sum.cpp:29:4: error: ‘m’ was not declared in this scope
29 | m[sum]={v1[i],v2[j]};
| ^
4sum.cpp:44:7: error: ‘m’ was not declared in this scope
44 |