>>105708572
It's the total number of ordered arrangements for 31 things with 3 states each, niggerman, how the fuck is that worthless?

What the fuck do you do when you want to allocate memory in a dp algorithm that requires you to log, say n results, with m outcomes each, not known at runtime. Do you precompute them into a 2D array manually at compile time?