avatar
文章
215
标签
0
分类
1
主页
分类
标签
归档
友链
爱飞鱼的blog启发式分治
搜索
主页
分类
标签
归档
友链

启发式分治

发表于2024-08-17|更新于2025-03-04|ICPC
|浏览量:

title: 启发式分治
categories:
- ICPC
tags:
- null
abbrlink: 84aa39e5
date: 2024-08-17 00:00:00

启发式分治

Non-boring sequences - UVALive 6258 - Virtual Judge (vjudge.net)

启发式分治-CSDN博客

[学习笔记]启发式分治 - house_cat - 博客园 (cnblogs.com)

文章作者: WTY
文章链接: https://my-mathmaster-github-io.vercel.app/posts/84aa39e5.html
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 爱飞鱼的blog!
cover of previous post
上一篇
Codeforces Round 892 (Div. 2)
title: Codeforces Round 892 (Div. 2)categories: - ICPCtags: - nullabbrlink: a38ff4fedate: 2024-08-09 00:00:00c题jls的代码,拿过来仔细研究了一番,终于弄明白了。https://codeforces.com/contest/1859/problem/Cjls代码 #include <bits/stdc++.h> using i64 = long long; struct DSU { std::vector<int> f, siz; DSU() {} DSU(int n) { init(n); } void init(int n) { f.resize(n); std::iota(f.begin(), f.end(), 0); siz.assign(n,...
cover of next post
下一篇
20230723牛客round4D题:给出一个大数的所有约数,通过dfs用质因子反向构造约数
title: 20230723牛客round4D题:给出一个大数的所有约数,通过dfs用质因子反向构造约数categories: - ICPCtags: - nullabbrlink: a4a5fc65date: 2024-08-18 00:00:00两个正整数a,b,请问a∗b有哪些因子#1≤a,b≤1e9 求因子的数量并给出所有因子本题无脑的暴力显然不能过,但用set存数,加上考虑到a*b的所有约数其实就是a的所有约数和b的所有约数分别相乘(核心)补充常识:int范围内数的约数个数最多为1600,2e9数的约数个数最多为1536,这也是本题能这样暴力的基础 https://blog.csdn.net/qq_40438165/article/details/122030763 #include <bits/stdc++.h> using namespace std; # define int long long const int N = 1e5 + 10; const int M = 2e5 + 10; const int inf =...
avatar
WTY
理性思考,和平交流
文章
215
标签
0
分类
1
Follow Me
目录
  1. 1. title: 启发式分治categories: - ICPCtags: - nullabbrlink: 84aa39e5date: 2024-08-17 00:00:00
  • 启发式分治
  • 最新文章
    贪心
    贪心2024-12-22
    Z_exkmp
    Z_exkmp2024-12-21
    Codeforces Round 895 (Div. 3)
    Codeforces Round 895 (Div. 3)2024-12-16
    可持久化字典树(Trie)
    可持久化字典树(Trie)2024-12-16
    网格图上问题
    网格图上问题2024-12-15
    ©2022 - 2025 By WTY
    框架 Hexo|主题 Butterfly
    Copyright 爱飞鱼
    搜索
    数据加载中