一些方法

1、时间戳避免清空。

2、桶。负数下标数组:

  

int b[3000010],*T=b+1500010,now;
View Code

 

posted @ 2019-10-17 18:56  seamtn  阅读(94)  评论(0编辑  收藏  举报