龍木
龍木
全部文章
分类
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篇)
C. Restoring Permutation
链接:https://codeforces.ml/contest/1315/problem/C You are given a sequence b1,b2,…,bnb1,b2,…,bn. Find the lexicographically minimal permutation a1,a2,…...
2020-09-15
0
466
D. Three Integers
链接:https://codeforces.ml/contest/1311/problem/D You are given three integers a≤b≤ca≤b≤c. In one move, you can add +1+1&nbs***bsp;−1−1 to any of ...
2020-09-15
0
353
B. Nick and Array
链接:https://codeforces.ml/contest/1180/problem/B Nick had received an awesome array of integers a=[a1,a2,…,an]a=[a1,a2,…,an] as a gift for his 55 birt...
2020-09-15
0
592
浅谈中国剩余定理
写这个类型博客的目的就是想总结一下某个专题的知识点,方便以后比赛前复习,由于太菜,如有错误,还请斧正。 中国剩余定理又称孙子定理,简单来说是解决两两互质同余问题的最小非负整数解 在模下的解是唯一的,解为 其中,而为模的逆元。 void exgcd(int a,int b...
2020-09-15
0
444
C. Playlist
链接:https://codeforces.ml/contest/1140/problem/C You have a playlist consisting of nn songs. The ii-th song is characterized by two numbers titi and b...
2020-09-15
0
599
D. Minimum Triangulation
链接:https://codeforces.ml/contest/1140/problem/D You are given a regular polygon with nn vertices labeled from 11 to nn in counter-clockwise order. Th...
2020-09-15
0
497
E1. String Coloring (easy version)
链接:https://codeforces.ml/contest/1296/problem/E1 This is an easy version of the problem. The actual problems are different, but the easy version is a...
2020-09-15
0
424
E2. String Coloring (hard version)
链接:https://codeforces.ml/contest/1296/problem/E2 This is a hard version of the problem. The actual problems are different, but the easy version is al...
2020-09-15
0
510
C 矩阵消除游戏
链接:https://ac.nowcoder.com/acm/contest/4090/C 牛妹在玩一个名为矩阵消除的游戏,矩阵的大小是{n}n行{m}m列,第{i}i行第{j}j列的单元格的权值为a_{i,j}ai,j,牛妹可以进行{k}k个回合的游戏,在每个回合,牛妹可以选择一行或者选择一列...
2020-09-15
0
951
B. Journey Planning
链接:https://codeforces.ml/contest/1321/problem/B Tanya wants to go on a journey across the cities of Berland. There are nn cities situated along the m...
2020-09-15
0
362
首页
上一页
17
18
19
20
21
22
23
24
25
26
下一页
末页