龍木
龍木
全部文章
未归档
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)
杭电(4)
浅谈(8)
深度优先搜索(1)
牛客(10)
组合数(1)
网络流最大流(2)
题解(3)
归档
标签
去牛客网
登录
/
注册
龍木的博客
全部文章
/ 未归档
(共421篇)
A. Sequence with Digits
链接:https://codeforces.com/contest/1355/problem/A Let's define the following recurrence: an+1=an+minDigit(an)⋅maxDigit(an).an+1=an+minDigit(an)⋅maxDi...
2020-09-15
0
556
D. Game With Array
链接:https://codeforces.com/contest/1355/problem/D Petya and Vasya are competing with each other in a new interesting game as they always do. At the b...
2020-09-15
0
486
C. Count Triangles
链接:https://codeforces.com/contest/1355/problem/C Like any unknown mathematician, Yuri has favourite numbers: AA, BB, CC, and DD, where A≤B≤C≤DA≤B≤C≤D...
2020-09-15
0
679
C2. Not So Simple Polygon Embedding
链接:https://codeforces.ml/contest/1354/problem/C2 The statement of this problem is the same as the statement of problem C1. The only difference is tha...
2020-09-15
0
486
C 序列卷积之和
给出一个长度为{n}n的数组{a_1,a_2,...,a_n}a1,a2,...,an,计算{\sum_{l=1}^n\sum_{r=l}^n\sum_{i=l}^r\sum_{j=i}^r}a_i*a_j∑l=1n∑r=ln∑i=lr∑j=irai∗aj {mod}mod {1e...
2020-09-15
0
397
H 中位因数
链接:https://ac.nowcoder.com/acm/contest/5678/H 来源:牛客网 给出函数的定义如下: f(x)是所有能够整除 x 的数(包含 1 和 x )中的中位数向下取整的大小, g(x)=∑i=1xf(i)g(x)=\sum_{i = 1}^{x}{f(i)}g...
2020-09-15
0
379
C. Game On Leaves
链接https://codeforces.ml/contest/1363/problem/C Ayush and Ashish play a game on an unrooted tree consisting of nn nodes numbered 11 to nn. Players mak...
2020-09-15
0
671
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
A Equivalent Prefixes
链接:https://ac.nowcoder.com/acm/contest/6362/A Two arrays u and v each with m distinct elements are called equivalent if and only if RMQ(u,l,r)=RMQ(v,l...
2020-09-15
0
576
首页
上一页
6
7
8
9
10
11
12
13
14
15
下一页
末页