Problem | compleecode |
---|---|
User | gelastropod |
Submission Time | 2025-04-22 12:42:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
compleecode.cpp: In function ‘std::vector<int> solve3(std::vector<int>)’:
compleecode.cpp:40:35: error: could not convert ‘std::swap<int>((* & v.std::vector<int>::operator[](((std::vector<int>::size_type)i))), (* & v.std::vector<int>::operator[](((std::vector<int>::size_type)j))))’ from ‘std::enable_if<true, void>::type’ {aka ‘void’} to ‘bool’
40 | r(v.z,i,0)r(v.z,j,i)while(swap(v[i],v[j]));
| ~~~~^~~~~~~~~~~
| |
| std::enable_if<true, void>::type {aka void}