摘要: 题解:隔一段数字存一个答案,在查询时,只要找到距离n最近而且小于n的存答案值,再把剩余的暴力跑一遍就可以。#include using namespace std;const int N = 1e8 + 10;const int M = 2e6 + 10;double... 阅读全文
posted @ 2018-08-28 21:06 Mercury_Lc 阅读(205) 评论(0) 推荐(0)