龍木
龍木
全部文章
未归档
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篇)
D2. RGB Substring (hard version)
链接:https://codeforces.com/contest/1196/problem/D2 The only difference between easy and hard versions is the size of the input. You are given a strin...
2020-05-28
0
405
B. Views Matter
链接:https://codeforces.com/contest/1061/problem/B You came to the exhibition and one exhibit has drawn your attention. It consists of nn stacks of blo...
2020-05-28
0
403
B. Pairs
链接:https://codeforces.com/problemset/problem/1169/B Toad Ivan has mm pairs of integers, each integer is between 11 and nn, inclusive. The pairs are (...
2020-05-28
0
617
C 选择颜色
链接:https://ac.nowcoder.com/acm/contest/3211/C 题目描述 n个人排成一个环形,每个人要从c种颜色中选择一个。 牛牛希望相邻的人选择的颜色是不同的 问有多少种方案。 输出方案数对10007取模的结果。 人是有顺序的,环旋转同构算不同的方案。 ...
2020-05-28
0
500
B. Beautiful Numbers
链接:https://codeforces.com/contest/1265/problem/B You are given a permutation p=[p1,p2,…,pn]p=[p1,p2,…,pn] of integers from 11 to nn. Let's call the n...
2020-05-28
0
414
C. Beautiful Regional Contest
链接:https://codeforces.com/contest/1265/problem/C So the Beautiful Regional Contest (BeRC) has come to an end! nn students took part in the contest. T...
2020-05-28
0
774
A. Beautiful String
链接:https://codeforces.com/contest/1265/problem/A A string is called beautiful if no two consecutive characters are equal. For example, "ababcb&q...
2020-05-28
0
463
B. A and B
链接:https://codeforces.com/problemset/problem/1278/B You are given two integers aa and bb. You can perform a sequence of operations: during the first ...
2020-05-28
0
480
C. Friends and Gifts
链接:https://codeforces.com/contest/1283/problem/C There are nn friends who want to give gifts for the New Year to each other. Each friend should give ...
2020-05-28
0
693
D. Christmas Trees
链接:https://codeforces.com/contest/1283/problem/D There are nn Christmas trees on an infinite number line. The ii-th tree grows at the position xixi. ...
2020-05-28
0
402
首页
上一页
17
18
19
20
21
22
23
24
25
26
下一页
末页