龍木
龍木
全部文章
未归档
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篇)
C. Swap Letters
链接:https://codeforces.com/contest/1215/problem/C Monocarp has got two strings ss and tt having equal length. Both strings consist of lowercase Latin ...
2020-09-15
0
489
C. Paint the Digits
You are given a sequence of nn digits d1d2…dnd1d2…dn. You need to paint all the digits in two colors so that: each digit is painted either in the c...
2020-09-15
0
440
马拉车模板
很早就听说过马拉车算法,但一直没去看,之前因为打2017哈尔滨A题时一直过不了,听学长说可以用马拉车+树状数组过才开始看马拉车,找了个比较好懂的板子,鼓捣半天,结果洛谷板子题都过不了,还是回过头看原理,还好最后过了 #include <bits/stdc++.h> using name...
2020-09-15
0
698
ACM算法目录
ACM 所有算法 数据结构 栈,队列,链表 哈希表,哈希数组 堆,优先队列 双端队列 可并堆 左偏堆 二叉查找树 Treap 伸展树 并查集 集合计数问题 二分图的识别 平衡二叉树 二叉排序...
2020-09-15
0
1044
Comet OJ - Contest #11Business
链接:https://cometoj.com/contest/67/problem/B?problem_id=3796 题目描述 ※ 简洁题意在分隔线下方 一张笑盈盈的脸挡住了替罪羊树的去路,那不怀好意的笑容使困倦的银发少女皱了皱眉。「 sgt ,你有多长时间没打理过那些可怜的节点了?恕...
2020-09-15
0
459
B. Filling the Grid
B. Filling the Grid input standard input output standard output Suppose there is a h×wh×w grid consisting of empty or full cells. Let's make some...
2020-09-15
0
422
C. Primes and Multiplication
C. Primes and Multiplication Let's introduce some definitions that will be needed later. Let prime(x)prime(x) be the set of prime divisors of xx. Fo...
2020-09-15
0
725
组合数
链接:https://ac.nowcoder.com/acm/contest/1099/B 组合数 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 32768K,其他语言65536K Special Judge, 64bit IO Format: %lld 题目描述 给出 n...
2020-09-15
0
668
B2. Social Network (hard version)
B2. Social Network (hard version) 链接:https://codeforces.com/contest/1234/problem/B2 The only difference between easy and hard versions are constra...
2020-09-15
0
646
E. Minimizing Difference
链接:https://codeforces.com/contest/1244/problem/E You are given a sequence a1,a2,…,ana1,a2,…,an consisting of nn integers. You may perform the follow...
2020-09-15
0
715
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页