URL:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1346 水题,但略有小陷阱,测试数据中空格也算在字符串内。 #in……