//这道题我提交了n次,就是不过。结果请教师兄,一下就AC了,原来是多加了cout<<endl;没看懂题目,悲剧啊。Output the corresponding message in just one line. #include <iost……