- 博客(570)
- 收藏
- 关注
原创 【VK Cup 2016 - Round 1 (Div 2 Edition)B】【水题】Bear and Displayed Friends 即时维护最大6个数
B. Bear and Displayed Friendstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLimak is a little polar bear.
2016-04-04 18:09:20 548
原创 【VK Cup 2016 - Round 1 (Div 2 Edition)A】【水题 暴力】Bear and Reverse Radewoosh 做题由易到难分高有难到易分高
A. Bear and Reverse Radewooshtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLimak and Radewoosh are going
2016-04-04 18:01:49 612
原创 【April Fools Day Contest 2016G】【2种语言实现】You're a Professional
G. You're a Professionaltime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputA simple recommendation system woul
2016-04-04 16:47:24 531
原创 【April Fools Day Contest 2016F】【脑洞 or 二分OEIS】Ace It!
#include#include#include#include#include#include#include#include#include#include#include#include#includeusing namespace std;void fre() { freopen("c://test//input.in", "r", stdin); freope
2016-04-04 16:46:20 738
原创 【April Fools Day Contest 2016E】【脑洞 define分行用法】Out of Controls 不用条件循环实现最长最短路
E. Out of Controlstime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputYou are given a complete undirected graph
2016-04-04 16:45:37 567
原创 【April Fools Day Contest 2016D】【多语言汇编】Rosetta Problem
D. Rosetta Problemtime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard output++++++++[>+>++>+++>++++>+++++>++++++>++++++
2016-04-04 16:44:17 473
原创 【April Fools Day Contest 2016C】【流程图翻译】Without Text
C. Without Texttime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputYou can preview the image in better quality
2016-04-04 16:43:23 615
原创 【April Fools Day Contest 2016B】【暴力】Scrambled 至少满足其一 模a余b
B. Scrambledtime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputBtoh yuo adn yuor roomatme lhoate wianshg diseh
2016-04-04 16:42:52 576
原创 【April Fools Day Contest 2016A】【OEIS】Da Vinci Powers 达芬奇power
A. Da Vinci Powerstime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputInputThe input contains a single intege
2016-04-04 16:42:00 1382
原创 【HDU5654 BestCoder Round 77 (div1) D】【前驱位置思想 排序 树状数组】xiaoxin and his watermelon candy 区间内多少个不同连续单升三元
xiaoxin and his watermelon candy Accepts: 15 Submissions: 172 Time Limit: 4000/4000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)问题描述六年级的暑假,在腾讯实习的xiaoxin巨从leader
2016-03-27 22:51:25 725
原创 【HDU5653 BestCoder Round 77 (div1) C】【DP 复杂度计算】Bomber Man wants to bomb an Array n炸弹设置爆炸左右界 最大爆炸力的乘积
Bomber Man wants to bomb an Array. Accepts: 56 Submissions: 225 Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)问题描述给一个长度为 NN 的一维格子和一些炸弹的位置
2016-03-27 11:15:39 449
原创 【HDU5652 BestCoder Round 77 (div1) B】【并查集 or 二分答案BFS】India and China Origins 两国中间出现山脉 最早时间断绝联系
India and China Origins Accepts: 97 Submissions: 351 Time Limit: 2000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)问题描述很久以前,中国和印度之间并没有喜马拉雅山相隔,两国的文化交流很频繁。
2016-03-27 11:08:55 754
原创 【HDU5651 BestCoder Round 77 (div1) A】【简单组合数】xiaoxin juju needs help 字符串位置重组构成回文串个数
xiaoxin juju needs help Accepts: 150 Submissions: 966 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)问题描述xiaoxin巨从小就喜欢字符串,六年级的时候他就知道了什么是回文
2016-03-27 10:31:43 564
原创 【HDU5650 BestCoder Round 77 (div2) A】【水题】so easy 集合所有子集异或和的异或和
so easy Accepts: 512 Submissions: 1601 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)问题描述已知一个包含 nn 个元素的正整数集合 SS,设 f(S)f(S) 为集合 SS 中所有元素的
2016-03-27 10:28:14 2004 1
原创 【Educational Codeforces Round 10E】【双连通分量缩环 BFS】Pursuit For Artifacts 从ST到ED每条边最多经过一次能否经过任一特殊边
E. Pursuit For Artifactstime limit per test3 secondsmemory limit per test512 megabytesinputstandard inputoutputstandard outputJohnny is playing a well-known com
2016-03-27 10:20:13 660
原创 【Educational Codeforces Round 10D】【树状数组】Nested Segments 每条线段内部有多少条线段
D. Nested Segmentstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given n segments on a line. Ther
2016-03-27 10:03:44 612
原创 【Educational Codeforces Round 10C】【脑洞 SET】Foe Pairs 不含有敌对pair的区间数
C. Foe Pairstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a permutation p of length n. Al
2016-03-27 09:58:36 810
原创 【Educational Codeforces Round 10B】【简单脑洞】z-sort 数列重排 奇小偶大
B. z-sorttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA student of z-school found a kind of sorting call
2016-03-26 18:39:10 1076
原创 【Educational Codeforces Round 10A】【简单讨论】Gabriel and Caterpillar 白天爬a晚上落b多久爬出洞
A. Gabriel and Caterpillartime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe 9-th grade student Gabriel no
2016-03-26 18:33:59 562
原创 【Codeforces Round 263 (Div 2)E】【坐标映射 脑洞】Appleman and a Sheet of Paper 折纸游戏 区间查询
Appleman and a Sheet of Papertime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAppleman has a very big sheet
2016-03-21 16:47:45 577
原创 【Codeforces Round 263 (Div 2)D】【树形DP】Appleman and Tree 树上割k个黑点为k块的方案数
Appleman and Treetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAppleman has a tree with n vertices. Some
2016-03-21 15:17:57 684
原创 【Codeforces Round 263 (Div 2)C】【贪心 哈弗曼思维】Appleman and Toastman 每个非1size子树延展为2子树的最大权
Appleman and Toastmantime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAppleman and Toastman play a game. In
2016-03-21 15:16:56 624
原创 【Codeforces Round 263 (Div 2)B】【水题 贪心】Appleman and Card Game 选字符,每个字符个数的平方
Appleman and Card Gametime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAppleman has n cards. Each card has a
2016-03-21 15:16:01 384
原创 【Codeforces Round 263 (Div 2)A】【水题 认真读题】Appleman and Easy Task 每个点的相邻o是否都为偶数
Appleman and Easy Tasktime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputToastman came up with a very easy tas
2016-03-21 15:14:48 388
原创 【IndiaHacks 2016 - Online Edition (Div 1 + Div 2) ErrichtoD】【二分答案 最大流】Delivery Bears x只熊运输同样的实物重量货物
Delivery Bearstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputNiwel is a little golden bear. As everyone k
2016-03-21 13:18:19 852
原创 【IndiaHacks 2016 - Online Edition (Div 1 + Div 2) ErrichtoC】【脑洞 好题 讨论?NO!暴力】Bear and Up-Down 多少种一次交
Bear and Up-Downtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe life goes up and down, just like nice
2016-03-21 09:46:48 654
原创 【IndiaHacks 2016 - Online Edition (Div 1 + Div 2) ErrichtoB】【爆搜dfs】 Bear and Compressing 字符串变换前2位变
Bear and Compressingtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLimak is a little polar bear. Polar be
2016-03-21 09:23:38 572
原创 【IndiaHacks 2016 - Online Edition (Div 1 + Div 2) ErrichtoA】【水题】Bear and Three Balls 是否有数值相差1的三个数
Bear and Three Ballstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLimak is a little polar bear. He has n
2016-03-21 09:16:06 495
原创 【Good Bye 2014E】【贪心 单调栈+线段树】New Year Domino 至少增加多高长度的多米诺骨牌才可推x倒y
New Year Dominotime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputCelebrating the new year, many people post
2016-03-21 09:10:22 1900
原创 【Good Bye 2014D】【期望的线性可加 基本元素累计】New Year Santa Network 树上取3点,路径权值之和的期望
New Year Santa Networktime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputNew Year is coming in Tree World! In
2016-03-21 09:09:21 673
原创 【Good Bye 2014C】【脑洞】New Year Book Reading 书放一摞依次看 最佳顺序使费用最小
New Year Book Readingtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputNew Year is coming, and Jaehyun decid
2016-03-21 09:08:14 1031
原创 【Good Bye 2014B】【Floyd or 并查集】New Year Permutation 全排列有位置交换序列 使得字典序尽可能小
New Year Permutationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputUser ainta has a permutation p1, p2, .
2016-03-21 09:07:21 1249
原创 【Good Bye 2014A】【水题 dfs】New Year Transportation 可否传送到t点
New Year Transportationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputNew Year is coming in Line World! I
2016-03-21 09:06:05 852
原创 【HDU5649 BestCoder Round 76 (div1)D】【二分+线段树】DZY Loves Sorting 全排列1~n 区间升序降序排序 最后k位置的数是几
DZY Loves Sorting Accepts: 6 Submissions: 8 Time Limit: 12000/6000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)问题描述DZY有一个数列a[1..n]a[1..n],它是1\sim n1∼n这nn个正整数的一个排列。现在他想支持两种操作:0\,\, l\,\, r0lr: 将a[l..r]a[l..r]原地升序排序。1 \,\,l \,\
2016-03-20 10:05:04 1394
原创 【HDU5648 BestCoder Round 76 (div1)C】【打表or数位DP】DZY Loves Math nm范围内i和j i或j的gcd之和
DZY Loves Math Accepts: 20 Submissions: 78 Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)问题描述DZY从小就喜欢数学。 有一天他遇到这么一个题:计算\sum_{1\le i\
2016-03-20 10:03:47 1437
原创 【HDU5647 BestCoder Round 76 (div1)B】【树形DP】DZY Loves Connecting 一棵树的所有生成子树的大小乘积
DZY Loves Connecting Accepts: 16 Submissions: 169 Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)问题描述DZY有一棵nn个结点的无根树,结点按照1\sim n1∼n标号。
2016-03-20 09:46:17 995
原创 【HDU5646 BestCoder Round 76 (div1)A】【贪心】DZY Loves Partition n个数拆分k个最大乘积
DZY Loves Partition Accepts: 128 Submissions: 272 Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)问题描述DZY喜欢拆分数字。他想知道能否把nn拆成恰好kk个不重复的正整数之和
2016-03-20 09:43:55 1222
原创 【CROC 2016 — QualificationC】【STL大联合】Hostname Aliases 输出拥有相同后缀集合的全体字符串
Hostname Aliasestime limit per test5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are some websites that are accessibl
2016-03-20 08:32:16 447
原创 【CROC 2016 — QualificationB】【队列模拟】Processing Queries 按时间顺序处理任务 队列长度不超过siz
B. Processing Queriestime limit per test5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn this problem you have to simulate
2016-03-19 12:48:24 613
原创 【CROC 2016 — QualificationA】【水题】nm棋盘填人奇偶不相邻
A. Parliament of Berlandtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n parliamentarians in Ber
2016-03-19 12:47:34 366
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人