Problem | compleecode |
---|---|
User | YSH2020 |
Submission Time | 2025-05-06 12:48:09 |
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:41:7: error: ‘c’ was not declared in this scope
41 | for (c i=p;i--) v[i]<v[i+1]&&swap(v[i],v[i+1]),i=p;
| ^
compleecode.cpp:41:13: error: ‘i’ was not declared in this scope
41 | for (c i=p;i--) v[i]<v[i+1]&&swap(v[i],v[i+1]),i=p;
| ^
compleecode.cpp:41:16: error: expected ‘;’ before ‘)’ token
41 | for (c i=p;i--) v[i]<v[i+1]&&swap(v[i],v[i+1]),i=p;
| ^
| ;