Codeforces
文章平均质量分 88
wadefk
go on
展开
-
Codeforces Round #284 (Div. 2)
好久没打CF,最近又开始忙里偷闲,结果就掉到DIV2了。。。 而且这次做了三题结果还被hack了一道。。。A和B就不说了C. Crazy Towntime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutput原创 2014-12-25 22:58:09 · 453 阅读 · 0 评论 -
Codeforces Round #263 (Div. 1) B. Appleman and Tree
树形DP 注意dp函数的设计B. Appleman and Treetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAppleman has a tre原创 2014-12-29 10:34:29 · 785 阅读 · 0 评论 -
Codeforces Good Bye 2014 A.B.C.D.
今天终于升到1900了,2014年的一个好的结束!虽然现在是偶尔打打codeforces,虽然没有了功利的诱惑,但是还是一如既往的喜欢,像蜗牛一样慢慢的前进吧,2015继续加油!!!话不多说,说说这次的题目.A题比较简单,就是建图,然后dfs一遍即可得到答案。B题还是稍微花了点时间的。题意是给一个排列,求能得到的‘’较美丽“的排列,其定义类似于字典序。然后给一个nxn矩阵说明哪些元素可原创 2014-12-31 09:31:24 · 589 阅读 · 0 评论