#45363: reverse直接將陣列翻轉


1121228@stu.wghs.tp.edu.tw (你知道我是誰嗎!!??)


reverse(s.begin(), s.end()); 意思是將s.begin到s.end之間的字元順序顛倒

所以就
cin
reverse
cout
就好了