将\t修改成空格就可以了,\t是制表符,就是键盘上的Tab
transform(istream_iterator(cin),istream_iterator(),ostream_iterator(cout," "),square);