The program calculates the max possible score BEFORE the inputted level.
The output is not 100% correct for some unfathomable reason but it is quite close. If anyone has a better code or can find the flaw in mine please contact me.
If you dont have a C++ compiler installed on your computer you may use an online compiler such as: https://www.onlinegdb.com/online_c++_compiler . Replace the code in the text window in the online compiler with my code.
st_stacking_calculator (txt)
LataaSuper Saiyan Tetris God