何曾有丶飞的梦想
何曾有丶飞的梦想
全部文章
分类
CCF(6)
C语言(1)
git(1)
Java(3)
Linux(3)
PAT(7)
POJ刷题记录(21)
python(1)
分层图(1)
区间操作(2)
可持续化数据结构(1)
图论(2)
数学(1)
最近公共祖先(1)
汇编(1)
算法(6)
英语(2)
蓝桥杯(1)
计算机组成原理(1)
计算机网络(1)
题解(1)
归档
标签
去牛客网
登录
/
注册
何曾有丶飞的梦想的博客
全部文章
(共64篇)
线段树模板
#include<bits/stdc++.h> using namespace std; typedef long long ll; const int maxn = 5e5+7,inf = 0x3f3f3f3f; ll n,m,opt,l,r; struct node{ ll ...
2019-11-09
0
609
可持续化trie树和最大异或和
#include<bits/stdc++.h> using namespace std; const int N = 1e6+10; int n,m,num,cnt; int trie[N*24][2],val[N*24]; int s[N],root[N]; inline int re...
2019-11-09
0
678
POJ题目分类(更新中)
刷了很多POJ的题,想想还是需要记录一下,以后时不时可以回顾一下 ,也给大家一些参考。刷题的时候更有效率一些 有源上下界可行流 POJ2396 网络流 ...
2019-10-07
0
431
树状数组的区间更新和区间查询
A[1-n]的和 所以需要维护两个树状数组 sum1[i] = D[i] sum2[i] = D[i]*(i-1) 然后修改相应的更新和求和方法即可 void update(){ int x = i; while(i <= n){ sum1[i]...
2019-09-01
0
387
古风排版
#include <bits/stdc++.h> using namespace std; int main() { int n,m; string s,a[150]; scanf("%d",&n); getchar(); getline(ci...
2019-07-10
0
363
The contradiction and confusion of perfectionists
Perfectionism is the unreasonable and self-defeating ambiton of getting something absolutely high,which makes us difficult to be around and punishing ...
2019-07-01
0
491
python3 安装web.py失败解决方法
pip install web.py==0.40.dev0
2019-03-26
0
425
git 关于 git push origin master 失败的问题解决
该问题是 本地仓库和远程仓库 文件不一样,或者本地跟远程没有同步导致无法 git push,只需要将远程的文件下载下来保持同步即可 命令如下 git pull --rebase origin master
2019-03-25
0
920
1014 Waiting in Line (30 分)
该题细节特别多,注意如果轮到某人的话 #include <bits/stdc++.h> using namespace std; const int M = 1e3 + 10; int n,m,k,q,per; int cost[M]; int out[M],in[M]; queue...
2019-03-21
0
537
1010 Radix (25 分)
用二分法!用long long!! #include <bits/stdc++.h> using namespace std; typedef long long ll; ll jz(ll &rad, string &s){ ll t = 0; for...
2019-03-19
0
463
首页
上一页
1
2
3
4
5
6
7
下一页
末页