1.’=’与 ‘==’注意不要写反了
2.若有很多循环,注意清空
https://www.acwing.com/activity/content/code/content/8678597/
https://www.acwing.com/activity/content/code/add/8597/
3.注意c=getchar()整体要加()!=-1
https://www.acwing.com/activity/content/code/content/8686908/
4.a>=1&&a<=s&&b>=1&&b<=s注意大于小于号不要写错
https://www.acwing.com/activity/content/code/content/8701033/
5.注意小根堆(priority_queue < int, vector < int > , greater < int > > heap)的写法和while(heap.size()>1)
https://www.acwing.com/activity/content/code/content/8717460/
6.注意printf(“%02d”)不足2位左补0的操作 https://www.acwing.com/activity/content/code/content/8728708/
7.图论题vector[HTML_REMOVED]e[N]的清空的注意点
https://www.acwing.com/activity/content/code/content/8783432/
8.注意要开long long,int=>2*10^9
https://www.acwing.com/activity/content/code/add/8449/
注意开ll
9. 以O(n)的复杂度算出每个点的左边和右边最近的特殊点