龍木
龍木
全部文章
未归档
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篇)
问题 F: N个物品2
链接:http://acm.ocrosoft.com/problem.php?cid=2001&pid=5 题目描述 现有N个物品,第i个物品有两个属性A_i和B_i。在其中选取若干个物品,使得sum{A_i + B_i}最大,同时sum{A_i},sum{B_i}均非负(sum...
2020-05-28
0
498
问题 E: 猩猩散步
链接:http://acm.ocrosoft.com/problem.php?cid=2001&pid=4 题目描述 猩猩,骆驼,还有泡泡经常喜欢在饭后到操场上散步,由于猩猩的走路姿势最突出最显眼,理所应当的成为他们中的主角,所以我的题目就说猩猩散步了。(骆驼和泡泡别有意见哈,和猩猩...
2020-05-28
0
423
E. By Elevator or Stairs?
链接:https://codeforces.com/contest/1249/problem/E You are planning to buy an apartment in a nn-floor building. The floors are numbered from 11 to nn f...
2020-05-28
0
508
B2. Books Exchange (hard version)
链接:https://codeforces.com/contest/1249/problem/B2 The only difference between easy and hard versions is constraints. There are nn kids, each of them...
2020-05-28
0
505
C2. Good Numbers (hard version)
链接:https://codeforces.com/contest/1249/problem/C2 The only difference between easy and hard versions is the maximum value of nn. You are given a pos...
2020-05-28
0
633
B2. TV Subscriptions (Hard Version)
链接:https://codeforces.com/contest/1247/problem/B2 The only difference between easy and hard versions is constraints. The BerTV channel every day bro...
2020-05-28
0
343
C. p-binary
链接:https://codeforces.com/contest/1247/problem/C Vasya will fancy any number as long as it is an integer power of two. Petya, on the other hand, is v...
2020-05-28
0
555
7030问题 U: 家庭问题
题目描述 有n个人,编号为1,2,……n,另外还知道存在K个关系。一个关系的表达为二元组(α,β)形式,表示α,β为同一家庭的成员。 当n,k和k个关系给出之后,求出其***有多少个家庭、最大的家庭中有多少人? 例如:n=6,k=3,三个关系为(1,2),(1,3),(4,5) 此时,6个人组成三...
2020-05-28
0
500
C - The Dominator of Strings
Here you have a set of strings. A dominator is a string of the set dominating all strings else. The string SS is dominated by TT if SS is a substring ...
2020-05-28
0
362
K - Kingdom of Obsession
There is a kindom of obsession, so people in this kingdom do things very strictly. They name themselves in integer, and there are nn people with thei...
2020-05-28
0
375
首页
上一页
14
15
16
17
18
19
20
21
22
23
下一页
末页