CF题解报告
13vickey
从不思考到底离梦的距离有多远,走一步注定会近一步,一步一步,用旅途的努力来收获成长。
展开
-
CF contest/389
A. Fox and Number Game n个数,She can do the following operation as many times as needed: select two different indexes i and j such that xi > xj hold, and then apply assignment xi = xi - xj. The goal原创 2014-02-05 15:36:59 · 812 阅读 · 0 评论 -
CF 392 B. Tower of Hanoi 记忆化搜索
比赛时候完全想不明白该怎么做,刚刚看了大神“码年大吉”的题解原题解报告,顿时想明白,好开心 题意: 还是汉诺塔的规则,要求1,3根柱子,2,大盘子不能放在小盘子上。不同的是给了一3*3矩阵,cost[i][j] 代表从第i根到第j跟需要的花费。问n个盘子,从1号柱子搬到3号柱子的最小花费。 还是递归的思想。搬第 x个盘子时,需要考虑 上面的x-1个盘子移动的方式。 第一种原创 2014-02-20 16:10:27 · 628 阅读 · 0 评论 -
#237 div2 C. Restore Graph
C. Restore Graph time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Valera had an undirected connected graph without self原创 2014-04-01 19:22:35 · 580 阅读 · 0 评论 -
Coder-Strike 2014 - Finals (online edition, Div. 2) Online Meeting
Nearly each project of the F company has a whole team of developers working on it. They often are in different rooms of the office in different cities and even countries. To keep in touch and track th原创 2014-04-23 11:57:14 · 670 阅读 · 0 评论 -
CF E. Enemy is weak 线段树
E. Enemy is weak time limit per test 5 seconds memory limit per test 256 megabytes input standard input output standard output The Romans have attacked again. This time they are m原创 2014-07-17 10:44:37 · 799 阅读 · 0 评论 -
Codeforces Round #248 (Div. 2)
C. Ryouko's Memory Note 题意: 给m 个数,0原创 2014-05-28 15:12:58 · 511 阅读 · 0 评论 -
codeforces 255#D. DZY Loves Modification
题意: 给n*m 的矩阵,求原创 2014-07-14 14:07:34 · 673 阅读 · 0 评论 -
CF problem-56-E. Domino Principle 维护栈
E. Domino Principle time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Vasya is interested in arranging dominoes. He is原创 2014-08-10 13:57:09 · 737 阅读 · 0 评论