Problem | 4sum |
---|---|
User | zyh571 |
Submission Time | 2023-02-01 17:34:24 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
4sum.cpp:5:38: error: template argument 1 is invalid
5 | vector<pair<int, pair<int, int>> v1, v2;
| ^~
4sum.cpp:5:38: error: template argument 2 is invalid
4sum.cpp: In function ‘int main()’:
4sum.cpp:15:28: error: expected ‘)’ before ‘{’ token
15 | for(int j = 0; j < b; j++{
| ~ ^
| )
4sum.cpp:16:4: error: ‘v1’ was not declared in this scope; did you mean ‘__pstl::execution::v1’?
16 | v1.push_back({A[i] + B[i], {A[i], B[i]}});
| ^~
| __pstl::execution::v1
In file included from /usr/include/c++/9/pstl/glue_algorithm_defs.h:15,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from 4sum.cpp:1:
/usr/include/c++/9/pstl/execution_defs.h:19:18: note: ‘__pstl::execution::v1’ declared here