摘要: T1:取模下性质。T2:统计的小技巧。cnt++,cnt--.if(!cnt)id=lst,cnt=1;else cnt+=id==lst?1:-1;T3:转化问题。大小关系只由最高的不同位决定。 T3发现转化问题方面要注意。 分析,转化。 #include<bits/stdc++.h> #defi 阅读全文
posted @ 2019-09-19 11:39 seamtn 阅读(159) 评论(2) 推荐(1) 编辑