字符串反转,栈模拟(ZOJ1151)

题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=151   这里可以用栈模拟,也可以用STL,reverse();函数。 但是我这里用栈模拟,PE了,了解一下这个做法吧。     #include <cstdio> #include <iostream> #include <algorithm> #include <s
相关文章
相关标签/搜索