Problem 4sum
User Student101
Submission Time 2024-11-10 15:10:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

4sum.cpp: In function ‘int main()’:
4sum.cpp:31:16: error: expected ‘;’ before ‘vector’
31 | a = lsa.size()
| ^
| ;
32 | vector<int> lsb(b);
| ~~~~~~
4sum.cpp:33:34: error: ‘lsb’ was not declared in this scope; did you mean ‘lsa’?
33 | for (int i=0;i<b;i++) cin >> lsb[i];
| ^~~
| lsa
4sum.cpp:34:8: error: ‘lsb’ was not declared in this scope; did you mean ‘lsa’?
34 | sort( lsb.begin(), lsb.end() );
| ^~~
| lsa