Problem 4sum
User cokeaholic07
Submission Time 2023-08-09 17:47:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

4sum.cpp:6:24: error: wrong number of template arguments (4, should be 2)
6 | pair<int, int, int, int> find_zero_sum(const vector<int>& a_list, const vector<int>& b_list, const vector<int>& c_list, const vector<int>& d_list) {
| ^
In file included from /usr/include/c++/9/bits/stl_algobase.h:64,
from /usr/include/c++/9/bits/char_traits.h:39,
from /usr/include/c++/9/ios:40,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from 4sum.cpp:1:
/usr/include/c++/9/bits/stl_pair.h:208:12: note: provided for ‘template<class _T1, class _T2> struct std::pair’
208 | struct pair
| ^~~~
4sum.cpp: In function ‘int find_zero_sum(const std::vector<int>&, const std::vector<int>&, const std::vector<int>&, const std::vector<int>&)’:
4sum.cpp:27:98: