
CodePudding user response:
You put t=2 * n - 1 in the scanf try below, your original place where no such thing as initialization should be prompt,

CodePudding user response:
You put t=2 * n - 1 in the scanf try below, your original place where no such thing as initialization should be prompt,