摘要: 1 #define pb push_back 2 #define _for(i,a,b) for(int i = (a);i & stones) 7 { 8 int sz = stones.size(); 9 if(sz==2&&stones[1]==1) return true; 10 11 v... 阅读全文
posted @ 2019-02-03 20:39 Asurudo 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 1 #define _for(i,a,b) for(int i = (a);i sumEvenAfterQueries(vector& A, vector>& queries) 8 { 9 vector rnt; 10 int rntEle = 0; 11 _for(i,0,A.size()) 12 ... 阅读全文
posted @ 2019-02-03 14:59 Asurudo 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 1 #define pb push_back 2 #define _for(i,a,b) for(int i = (a);i v,TreeNode* root,string &s) 7 { 8 9 if(root->left==NULL&&root->right==NULL) 10 { 11 ... 阅读全文
posted @ 2019-02-03 14:58 Asurudo 阅读(461) 评论(0) 推荐(0) 编辑
摘要: 水过去了(发出了混子的声音 阅读全文
posted @ 2019-02-03 14:57 Asurudo 阅读(340) 评论(0) 推荐(0) 编辑
摘要: 1 bool cmp(Interval a,Interval b) 2 { 3 return a.start intervalIntersection(vector& A, vector& B) 10 { 11 vector rnt; 12 for(int i = 0; i =B[j].start&&A[i].sta... 阅读全文
posted @ 2019-02-03 14:57 Asurudo 阅读(418) 评论(0) 推荐(0) 编辑