随笔分类 -  倍增

摘要:题目 City C is really a nightmare of all drivers for its traffic jams. To solve the traffic problem, the mayor plans to build a RTQS (Real Time Query Sy 阅读全文
posted @ 2020-05-06 22:22 YouXam 阅读(143) 评论(0) 推荐(0)
摘要:题目 一个长度为n的大数,用$S_1,S_2,S_3...S_n$表示,其中$S_i$表示数的第$i$位,$S_1$是数的最高位,告诉你一些限制条件,每个条 件表示为四个数,\(l_1,r_1,l_2,r_2\),即两个长度相同的区间,表示子串$S_,S_{l_1+1},S_{l_1+2}...S_ 阅读全文
posted @ 2020-05-03 23:10 YouXam 阅读(85) 评论(0) 推荐(0)