I was coding in some sort of university conquest and noticed something, when I declare a map in a loop such as down below:
for (int i = 0; i < n; i++) {