![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数论
文章平均质量分 93
熙言丶
这个作者很懒,什么都没留下…
展开
-
Sum of the Line(容斥原理)
Sum of the Line 时间限制: 1 Sec 内存限制: 128 MB ...原创 2018-08-22 10:49:30 · 189 阅读 · 0 评论 -
破解 D-H 协议(永远不可能学会的数论之BSGS算法)
破解 D-H 协议 时间限制: 1 Sec 内存限制: 128 MB ...原创 2018-08-11 09:25:42 · 1270 阅读 · 0 评论 -
Masha and two friends(容斥+思维)
Masha and two friends time limit per test:1 second ...原创 2018-11-24 22:22:36 · 432 阅读 · 0 评论 -
永远不可能学会的数论之基础数论(例题)
涉及到知识1.普通筛选、埃拉托斯特尼筛选、欧拉筛选 Bi-shoe and Phi-shoeBamboo Pole-vault is a massively popular sport in Xzhiland. And Master Phi-shoe is a very popular coach f...原创 2018-11-07 12:04:24 · 2852 阅读 · 2 评论 -
欧拉筛选+唯一分解(模板)
#include<bits/stdc++.h>#define MAXN 1000005using namespace std;typedef long long ll;ll prime[MAXN];ll vis[MAXN];ll cnt;ll n;void isprime(){ cnt=0; for(int i=2;i<=MAXN;i++)...原创 2018-11-02 22:05:22 · 483 阅读 · 3 评论 -
区间权值(永远不可能学会的数论之简单数论)
区间权值 时间限制: 1 Sec 内存限制: 128 MB ...原创 2018-10-21 20:33:31 · 785 阅读 · 0 评论 -
Poor God Water (矩阵快速幂模板)
God Water likes to eat meat, fish and chocolate very much, but unfortunately, the doctor tells him that some sequence of eating will make them poisonous.Every hour, God Water will eat one kind of fo...原创 2018-09-18 16:49:57 · 404 阅读 · 0 评论 -
杭电2019多校第四场 Minimal Power of Prime (数论+思维)
Minimal Power of Prime Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others) ...原创 2019-08-01 11:27:57 · 352 阅读 · 0 评论