Problem | 4sum |
---|---|
User | Student101 |
Submission Time | 2024-11-10 15:09:59 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
4sum.cpp: In function ‘int main()’:
4sum.cpp:28:2: error: ‘sort’ was not declared in this scope; did you mean ‘qsort’?
28 | sort( lsa.begin(), lsa.end() );
| ^~~~
| qsort
4sum.cpp:29:13: error: ‘unique’ was not declared in this scope
29 | lsa.erase( unique( lsa.begin(), lsa.end() ), lsa.end() );
| ^~~~~~
4sum.cpp:30:16: error: expected ‘;’ before ‘vector’
30 | a = lsa.size()
| ^
| ;
31 | vector<int> lsb(b);
| ~~~~~~
4sum.cpp:32:34: error: ‘lsb’ was not declared in this scope; did you mean ‘lsa’?
32 | for (int i=0;i<b;i++) cin >> lsb[i];
| ^~~
| lsa
4sum.cpp:33:8: error: ‘lsb’ was not declared in this scope; did you mean ‘lsa’?
33 | sort( lsb.begin(), lsb.end() );
| ^~~
| lsa