Problem | 4sum |
---|---|
User | ATHY |
Submission Time | 2025-02-22 08:20:12 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
4sum.cpp: In function ‘int main()’:
4sum.cpp:26:29: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>’ and ‘std::vector<std::pair<long long int, long long int> >’)
26 | cout << p.first << " " << p.second << " " << x << " " <<y << endl;
| ~~~~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~
| | |
| | std::vector<std::pair<long long int, long long int> >
| std::basic_ostream<char>
In file included from /usr/include/c++/9/istream:39,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from 4sum.cpp:1:
/usr/include/c++/9/ostream:108:7: no