Problem 4sum
User PlayVoltz
Submission Time 2023-07-31 19:43:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

4sum.cpp: In function ‘int main()’:
4sum.cpp:39:22: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::tuple<int, int, int> >, std::tuple<int, int, int> >::value_type’ {aka ‘class std::tuple<int, int, int>’} has no member named ‘first’
39 | else if (vect1[i].first+vect2[i].first==0){
| ^~~~~
4sum.cpp:39:37: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::tuple<int, int, int> >, std::tuple<int, int, int> >::value_type’ {aka ‘class std::tuple<int, int, int>’} has no member named ‘first’
39 | else if (vect1[i].first+vect2[i].first==0){
| ^~~~~