08 2024 档案
摘要:链接 https://codeforces.com/problemset/problem/161/D 题目 思路 点分治的板子。但是得改改。 改的地方就是增加一个桶,然后相和为k的两个数量乘一下。 主要还是理解点分治代码为主 代码 #define _CRT_SECURE_NO_WARNINGS #i
阅读全文
摘要:#define _CRT_SECURE_NO_WARNINGS #include<iostream> #include<vector> #include<algorithm> #include<math.h> #include<sstream> #include<string> #include<s
阅读全文