
ACdream
文章平均质量分 87
Mr_Treeeee
这个作者很懒,什么都没留下…
展开
-
ACdream 1015 - Double Kings (记忆化搜索)
Double KingsTime Limit: 2000/1000MS (Java/Others) Memory Limit: 128000/64000KB (Java/Others)Submit Statistic Next ProblemProblem DescriptionOur country is tree-like structure, that i原创 2017-12-05 22:43:14 · 305 阅读 · 0 评论 -
ACdream 1427 - Nice Sequence (线段树)
Nice SequenceTime Limit: 4000/2000MS (Java/Others) Memory Limit: 128000/64000KB (Java/Others)Submit Statistic Next ProblemProblem Description Let us consider the sequence a1, a2原创 2018-02-05 14:24:47 · 269 阅读 · 0 评论 -
ACdream 1740 - 哗啦啦族的24点游戏 (全排列DFS)
哗啦啦族的24点游戏Time Limit: 2000/1000MS (Java/Others) Memory Limit: 128000/64000KB (Java/Others)Submit Statistic Next ProblemProblem Description哗啦啦族的小Q是一个狂热的24点爱好者,24点就是给你一串数字,问你是否通过加减乘除括号原创 2017-11-27 17:26:18 · 413 阅读 · 0 评论 -
ACdream 1082 - 闪电战(扫描)
Problem Description最近北航ACM队内看是流行一款叫做RUSE的即时策略游戏,这款游戏的迷人之处就在于真真假假虚虚实实,对抗性很强。Sbihero是这方面的达人,因为他为了这个游戏构造了一个合适的模型:将整个战场可以视为为n*m的一个矩阵,每个元素值都代表着这一区域内的战力值,正值代表己方的战力,负值代表敌方的战力,零表示无军事力量。而Sbihero最喜欢用的原创 2017-11-24 22:41:17 · 305 阅读 · 0 评论 -
ACdream 1069 - 无耻的出题人
无耻的出题人Time Limit: 2000/1000MS (Java/Others) Memory Limit: 65536/32768KB (Java/Others)Submit Statistic Next ProblemProblem Description听到X神要参加比赛,只会Fibnacci数的出题人被吓得哭晕在厕所。为了防止X神AK(ALL KI原创 2017-12-05 23:24:25 · 350 阅读 · 0 评论 -
ACdream 1063 - 平衡树 (01字典树)
平衡树Time Limit: 4000/2000MS (Java/Others) Memory Limit: 128000/64000KB (Java/Others)Submit Statistic Next ProblemProblem Description神奇的cxlove有一颗平衡树,其树之神奇无法用语言来描述 OrzOrz。 这棵树支持3种操作: 1、原创 2017-12-05 23:20:00 · 320 阅读 · 0 评论 -
ACdream 1064 - 完美数(数位DP)
完美数Time Limit: 2000/1000MS (Java/Others) Memory Limit: 128000/64000KB (Java/Others)Submit Statistic Next ProblemProblem Description8是中国人很喜欢的一个数字,但是如果有3的存在就变成了38,就不是很好了。。你能告诉我,在[L,原创 2017-12-05 22:50:42 · 320 阅读 · 0 评论 -
ACdream 1028 - Path (树形DP)
PathTime Limit: 4000/2000MS (Java/Others) Memory Limit: 128000/64000KB (Java/Others)Submit Statistic Next ProblemProblem DescriptionCheck if there exists a path of length l in the原创 2017-12-05 22:49:20 · 274 阅读 · 0 评论 -
ACdream 1020 - The Game about KILL(约瑟夫环)
The Game about KILLTime Limit: 2000/1000MS (Java/Others) Memory Limit: 128000/64000KB (Java/Others)Submit Statistic Next ProblemProblem DescriptionTeacher HU and his 40 students were原创 2017-12-05 22:44:49 · 298 阅读 · 0 评论 -
EOJ Monthly 2018.5 (校赛网络同步赛) - B. 数螃蟹
点击打开链接POINT:可知最终得到的等差数列的差值,肯定是某组a[i+1]-a[i],那么我们便利每个差值,然后往左,往右修改,得到长度即可。#include <iostream>#include <stdio.h>#include <algorithm>#include <string.h>using namespace std;con...原创 2018-06-01 10:21:44 · 341 阅读 · 0 评论