Problem | compleecode |
---|---|
User | shoryu386 |
Submission Time | 2024-05-24 23:59:51 |
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:16: error: ‘pow’ was not declared in this scope
40 | for (long i = pow(v.size(),2)-1;i--;) P;
| ^~~
compleecode.cpp:28:20: error: ‘z’ was not declared in this scope
28 | #define P if (v[i/z] > v[i%z]) swap(v[i/z], v[i%z])
| ^
compleecode.cpp:40:40: note: in expansion of macro ‘P’
40 | for (long i = pow(v.size(),2)-1;i--;) P;
| ^