Comments

Hey, dude, thanks!I have just found that "2048 game" has the same problem as the "dividing into teams" ! There are input left and it just jumps to the next iteration! Thanks for your help, really appreciate!

OH, bang! I got it, it will not read the next number when n = 1, I got it, thanks!!!

Ya, but I don't know why this code that I submitted failed, I think my accepted code and this one have the same logic, and also it runs fine on my computer

Sorry, I probably still need some time to understand that, I will tell you when I got it. Before this, would you mind also help me check another question, please, thanks

Sorry, I don't quite understand, is it question 1249A? But there an if statement, if(n == 1)