ii沙漠

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2015年8月13日

摘要: ```cpp//输入的时候加不加空格都行,因为是前缀表达式.//但是输出中应该要加空格,因为有可能几个数字是挨在一起的情况.//has not complete the `to_prifix`, because i do not know how to do it.#include #include... 阅读全文
posted @ 2015-08-13 16:39 ii沙漠 阅读(214) 评论(0) 推荐(0) 编辑

摘要: ```cpp#include #include using namespace std;struct Node{ int val; Node* left; Node* right; Node(int x_) : val(x_), left(NULL), right(NULL){}};void InO... 阅读全文
posted @ 2015-08-13 14:12 ii沙漠 阅读(199) 评论(0) 推荐(0) 编辑