Problem 4sum
User Huoi
Submission Time 2023-03-17 21:36:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

4sum.cpp: In function ‘void solve()’:
4sum.cpp:35:89: error: request for member ‘first’ in ‘v.std::pair<int, int>::second’, which is of non-class type ‘int’
35 | cout << a[u.second.first] << " " << b[u.second.second] << " " << c[v.second.first] << " " << d[v.second.second];
| ^~~~~
4sum.cpp:35:117: error: request for member ‘second’ in ‘v.std::pair<int, int>::second’, which is of non-class type ‘int’
35 | cout << a[u.second.first] << " " << b[u.second.second] << " " << c[v.second.first] << " " << d[v.second.second];
| ^~~~~~