I\'m trying to solve a problem on codeforces, but ran into an issue: The following codes don\'t yield the same results (value of nb). Only the 4th line before the end differ