Problem | compleecode |
---|---|
User | AlphanumericUsername |
Submission Time | 2024-05-25 21:47:00 |
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:31:15: 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)(((int)i) - 1)))))’ from ‘void’ to ‘bool’
31 | #define z swap(v[i], v[i -
| ^
compleecode.cpp:45:22: note: in expansion of macro ‘z’
45 | v[i] < v[i - 1] && z 1]), i = x;
| ^