这道题题意又没读懂。这句:“if two consecutive numbers were separated by spaces only (one or more), then exactly one of them should be lefe”,意思是两个连续的数中间若有多个空格,只保留一个。而我稀里糊涂的全给删了,结果系统测试Judge掉了
程序代码:
这道题题意又没读懂。这句:“if two consecutive numbers were separated by spaces only (one or more), then exactly one of them should be lefe”,意思是两个连续的数中间若有多个空格,只保留一个。而我稀里糊涂的全给删了,结果系统测试Judge掉了
程序代码: