摘要: 二分函数很容易写错(理解问题),需要仔细想一想。 1 #include<bits/stdc++.h> 2 #define rep(i,a,n) for(register int i = a;i <= n;++i) 3 #define per(i,n,a) for(register int i = n 阅读全文
posted @ 2020-11-05 21:37 TIH_HIT 阅读(74) 评论(0) 推荐(0) 编辑
摘要: 没什么特殊的,与以前的相比会条理一些吧。 1 #include<bits/stdc++.h> 2 #define rep(i,a,n) for(register int i = a;i <= n;++i) 3 #define per(i,n,a) for(register int i = n;i < 阅读全文
posted @ 2020-11-05 21:36 TIH_HIT 阅读(130) 评论(1) 推荐(0) 编辑