摘要: 很简单, 因为 x + y = x - (-y)。 好的, 结束了, 感谢您的阅读哈~当然, 我是开玩笑的, 代码在这:int Add (int a, int b){ int c = a & b; int r = a ^ b; return c == 0 ? r : add (r,... 阅读全文
posted @ 2015-03-07 22:36 wu_overflow 阅读(282) 评论(0) 推荐(0)
摘要: struct TreeNode{ //... PTreeNode& Child (Direction dir) { return dir == left? leftChild : rightChild; }};class BST{private: // ... ... 阅读全文
posted @ 2015-03-07 19:47 wu_overflow 阅读(240) 评论(0) 推荐(0)