2 ms·Yes, and it's an easy fix as the accepted answer shows: cin.sync_with_stdio(false);by 16s 15y agoYes, and it's an easy fix as the accepted answer shows: cin.sync_with_stdio(false);