Problem | 4sum |
---|---|
User | DoubleShaurya |
Submission Time | 2024-02-27 20:34:46 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
4sum.cpp: In function ‘int main()’:
4sum.cpp:34:10: error: ‘val’ was not declared in this scope
34 | cin >> val;
| ^~~
4sum.cpp:35:3: error: ‘va’ was not declared in this scope; did you mean ‘v’?
35 | va[0].push_back(val);
| ^~
| v
4sum.cpp:39:10: error: ‘val’ was not declared in this scope
39 | cin >> val;
| ^~~
4sum.cpp:44:10: error: ‘val’ was not declared in this scope
44 | cin >> val;
| ^~~
4sum.cpp:49:10: error: ‘val’ was not declared in this scope
49 | cin >> val;
| ^~~
4sum.cpp:53:17: error: invalid initialization of reference of type ‘std::vector<std::vector<int> >&’ from expression of type ‘std::vector<std::vector<long long int> >’
53 | findSumToZero(v);
| ^
4sum.cpp:7:41: note: in passing argument 1 of ‘bool findSumToZero(std::vector<std::ve