题解 | #字符逆序#
字符逆序
http://www.nowcoder.com/practice/cc57022cb4194697ac30bcb566aeb47b
function func() {
let line;
while(line = readline()) {
const arr = line.split(' ').reverse();
const arr2 = [];
arr.forEach((item) => {
arr2.push(item.split('').reverse().join(''));
});
print(arr2.join(' '));
}
}
func();