龍木
龍木
全部文章
分类
c#(1)
codeforces(130)
dp(2)
map(2)
RMQ(1)
一些神奇的东西(1)
三分(1)
前缀和(1)
区间dp(1)
博弈(2)
大数(1)
平面几何(1)
并查集(1)
快数幂(1)
总结(1)
打表(1)
找规律(4)
数学(8)
暴力(1)
最小公约数(1)
最小生成树(1)
未归档(31)
杭电(4)
浅谈(8)
深度优先搜索(1)
牛客(10)
组合数(1)
网络流最大流(2)
题解(3)
归档
标签
去牛客网
登录
/
注册
龍木的博客
全部文章
(共613篇)
E. Tree Shuffling
链接:https://codeforces.ml/contest/1363/problem/E Ashish has a tree consisting of nn nodes numbered 11 to nn rooted at node 11. The ii-th node in the t...
2020-09-15
0
534
C. A Cookie for You
链接:https://codeforces.ml/contest/1371/problem/C Anna is a girl so brave that she is loved by everyone in the city and citizens love her cookies. She ...
2020-09-15
0
557
D. Grid-00100
链接:https://codeforces.ml/contest/1371/problem/D A mad scientist Dr.Jubal has made a competitive programming task. Try to solve it! You are given int...
2020-09-15
0
534
D. Zero Remainder Array
链接:https://codeforces.com/contest/1374/problem/D You are given an array aa consisting of nn positive integers. Initially, you have an integer x=0x=0...
2020-09-15
0
0
C. Pluses and Minuses
链接:https://codeforces.ml/contest/1373/problem/C You are given a string ss consisting only of characters + and -. You perform some process with this s...
2020-09-15
0
654
D - Vacation
链接:https://vjudge.net/contest/381756#problem/D Tom and Jerry are going on a vacation. They are now driving on a one-way road and several cars are in ...
2020-09-15
0
543
网络流最大流模板
#include<bits/stdc++.h> using namespace std; typedef long long ll; const int N=200000+10,M=1e4+5,mod=1e9+7; ll n,m,s,t,h[N],cur[N],cnt=1,vis[N];...
2020-09-15
0
429
地震逃生
链接:https://www.luogu.com.cn/problem/P1343 题目描述 汶川地震发生时,四川**中学正在上课,一看地震发生,老师们立刻带领x名学生逃跑,整个学校可以抽象地看成一个有向图,图中有n个点,m条边。1号点为教室,n号点为安全地带,每条边都只能容纳一定量的学生,超过...
2020-09-15
0
576
P1345 [USACO5.4]奶牛的电信Telecowmunication
链接:https://www.luogu.com.cn/problem/P1345 题目描述 农夫约翰的奶牛们喜欢通过电邮保持联系,于是她们建立了一个奶牛电脑网络,以便互相交流。这些机器用如下的方式发送电邮:如果存在一个由 cc 台电脑组成的序列a_1,a_2,\cdots ,a_ca1,a2...
2020-09-15
0
723
E. Maximum Subsequence Value
链接:https://codeforces.ml/contest/1365/problem/E Ridhiman challenged Ashish to find the maximum valued subsequence of an array aa of size nn consistin...
2020-09-15
0
487
首页
上一页
23
24
25
26
27
28
29
30
31
32
下一页
末页