Problem 4sum
User dacashew
Submission Time 2023-12-19 14:59:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

4sum.cpp: In function ‘int main()’:
4sum.cpp:6:17: error: ‘unordered’ was not declared in this scope
6 | #define hashmap unordered map
| ^~~~~~~~~
4sum.cpp:24:2: note: in expansion of macro ‘hashmap’
24 | hashmap<int,pair<int,int>> m;
| ^~~~~~~
4sum.cpp:28:4: error: ‘m’ was not declared in this scope
28 | m[sum]={v1[i],v2[j]};
| ^
4sum.cpp:43:7: error: ‘m’ was not declared in this scope
43 | if(m.find(0-v1[i]-v2[j])!=m.end()){
| ^