Problem promotion
User haydendoo
Submission Time 2023-01-14 10:33:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

promotion.cpp: In function ‘void solve()’:
promotion.cpp:293:14: error: ‘p’ was not declared in this scope
293 | FOR(n) read(p[i]);
| ^
promotion.cpp:297:33: error: ‘p’ was not declared in this scope
297 | FOR(n) raphaellimfuen[in[i]] = p[i];
| ^
promotion.cpp:298:73: error: ‘p’ was not declared in this scope
298 | root = new wavelet_tree(raphaellimfuen, raphaellimfuen+n, *min_element(p, p+n), *max_element(p, p+n));
| ^