Problem | swap |
---|---|
User | PlayVoltz |
Submission Time | 2024-03-06 14:23:20 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
swap.cpp: In function ‘void init(int, int, std::vector<int>, std::vector<int>, std::vector<int>)’:
swap.cpp:63:25: error: ‘start’ was not declared in this scope
63 | for (int i=0; i<n; ++i)start[i]=e[i]=j;
| ^~~~~
swap.cpp:63:39: error: ‘j’ was not declared in this scope
63 | for (int i=0; i<n; ++i)start[i]=e[i]=j;
| ^