摘要: 暴力+优化,说实话能过我也觉得很奇妙,可能是因为数据范围很小的缘故吧 阅读全文
posted @ 2019-02-17 12:11 Asurudo 阅读(495) 评论(2) 推荐(0) 编辑
摘要: 经典ACM问题——奶牛掉头 阅读全文
posted @ 2019-02-17 12:10 Asurudo 阅读(488) 评论(0) 推荐(0) 编辑
摘要: 原则上来说,应该用BFS,看了一下数据范围,决定无脑暴力撸过 阅读全文
posted @ 2019-02-17 12:09 Asurudo 阅读(495) 评论(0) 推荐(0) 编辑
摘要: 1 class Solution 2 { 3 public: 4 bool judge(TreeNode* root, int x, int y) 5 { 6 if(root!=NULL) 7 { 8 9 if(root->left&&root->right... 阅读全文
posted @ 2019-02-17 12:08 Asurudo 阅读(324) 评论(0) 推荐(0) 编辑