Problem reachability2
User blackscreen1
Submission Time 2025-12-05 08:52:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

reachability2.cpp: In function ‘void dp(int, int)’:
reachability2.cpp:72:10: error: ‘it’ was not declared in this scope; did you mean ‘i’?
72 | iloop(a[it]+1, 5005) memo[nd][i] = 0;
| ^~
reachability2.cpp:14:35: note: in definition of macro ‘iloop’
14 | #define iloop(m, h) for (auto i = m; i != h; i += (m < h ? 1 : -1))
| ^