I figured out how to make this one work already but can\'t explain in details what is so different in these two codes here.
Incorrect code:
const int n