Problem | train_apio24 |
---|---|
User | ryangohca |
Submission Time | 2024-05-26 16:26:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
train_apio24.cpp:11:11: error: redefinition of ‘const int mxN’
11 | const int mxN = 1e5 + 5, mxT = 1e9;
| ^~~
train_apio24.cpp:8:11: note: ‘const int mxN’ previously defined here
8 | const int mxN = 1e5 + 10;
| ^~~
train_apio24.cpp:20:5: error: redefinition of ‘int n’
20 | int n, m, w, pre[mxN], nxt[mxN], fir[mxN], lst[mxN], cost[mxN];
| ^
train_apio24.cpp:10:5: note: ‘int n’ previously declared here
10 | int n, m, w;
| ^
train_apio24.cpp:20:8: error: redefinition of ‘int m’
20 | int n, m, w, pre[mxN], nxt[mxN], fir[mxN], lst[mxN], cost[mxN];
| ^
train_apio24.cpp:10:8: note: ‘int m’ previously declared here
10 | int n, m, w;
| ^
train_apio24.cpp:20:11: error: redefinition of ‘int w’
20 | int n, m, w, pre[mxN], nxt[mxN], fir[mxN], lst[mxN], cost[mxN];
| ^
train_apio24.cpp:10:11: note: ‘int w’ previously declare