由于这是 UVA 的神秘题目,你需要小心此题的输出格式。
每两组数据之间需要有空行(例如你需要 cout << "\n\n")。但最后一组数据不能有空行,但是你需要有回车(cout << "\n")
cout << "\n\n"
cout << "\n"