06 2020 档案

摘要:智能指针的循环引用 class Node { public: shared_ptr<Node> left; shared_ptr<Node> right; Node(int v) { this->value = v; cout << "Constructor" << endl; } ~Node() 阅读全文
posted @ 2020-06-23 12:17 尚修能的技术博客 阅读(2275) 评论(1) 推荐(0) 编辑
摘要:这次周赛比较惨,只做出了第一个题目。最终排名1700+ 1486. 数组异或操作 第一个题目比较简单,就是去模拟异或的过程即可。 class Solution { public: int xorOperation(int n, int start) { vector<int> nums; for(i 阅读全文
posted @ 2020-06-21 22:10 尚修能的技术博客 阅读(154) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示