1.翻转函数
eg:
reverse(s.begin(),s.end());
2.反转函数
swap()
3.统计1,2出现次数
int one=count(w.begin(),w.end(),'1'),two=count(w.begin(),w.end(),'2');