Problem | 4sum |
---|---|
User | zyh571 |
Submission Time | 2023-02-01 17:34:39 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
4sum.cpp: In function ‘int main()’:
4sum.cpp:15:28: error: expected ‘)’ before ‘{’ token
15 | for(int j = 0; j < b; j++{
| ~ ^
| )
4sum.cpp:20:28: error: expected ‘)’ before ‘{’ token
20 | for(int j = 0; j < d; j++{
| ~ ^
| )
4sum.cpp:27:62: error: expected ‘)’ before ‘->’ token
27 | if(*lower_bound(v2.begin(), v2.end(), {v1[i].first, {0, 0}} -> first) == -v1[i].first){
| ~ ^~~
| )
4sum.cpp:27:71: error: no matching function for call to ‘lower_bound(std::vector<std::pair<int, std::pair<int, int> > >::iterator, std::vector<std::pair<int, std::pair<int, int> > >::iterator, <brace-enclosed initializer list>)’
27 | if(*l