Problem | crypto |
---|---|
User | Kiameimon |
Submission Time | 2023-11-23 16:13:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
crypto.cpp: In function ‘long long int lexicographicalOrder(const std::vector<long long int>&, long long int)’:
crypto.cpp:32:79: error: no matching function for call to ‘std::vector<long long int>::begin(long long int, std::vector<long long int>::const_iterator, lexicographicalOrder(const std::vector<long long int>&, long long int)::<lambda(long long int)>) const’
32 | int less = count_if(P.begin(+i, P.end(), [&](int x) {return x < P[i];});
| ^
In file included from /usr/include/c++/9/vector:67,
from /usr/include/c++/9/functional:62,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from crypto.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:808:7: n