The Bitlandians are quite weird people. They have very peculiar customs. As is customary, Uncle J. wants to have n eggs painted for Bitruz (an ancient ...
分类:
其他好文 时间:
2017-09-21 20:53:37
阅读次数:
141
Codeforces Round #198 (Div. 2) 昨天看到奋斗群的群赛,好奇的去做了一下, 大概花了3个小时Ak,我大概可以退役了吧 那下面来稍微总结一下 A. The Wall Iahub and his friend Floyd have started painting a wal ...
分类:
其他好文 时间:
2017-09-21 13:17:41
阅读次数:
246
Color it Time Limit: 20000/10000 MS (Java/Others) Memory Limit: 132768/132768 K (Java/Others) Problem Description Do you like painting? Little D doesn ...
分类:
其他好文 时间:
2017-09-01 11:52:20
阅读次数:
291
https://msdn.microsoft.com/en-us/library/dd162759(v=vs.85).aspx Painting and Drawing This overview describes how the system manages output to the scre ...
一些画布,每块有其大小,一开始都是白的,你任意将它们排序,然后一次操作可以选择一段连续的相同颜色的画布,从中任选一个位置,左侧涂上任意一种颜色,右侧涂上另一种。消耗是这一段画布的总的大小。问你要将所有画布着上不同的颜色的最小花费。 从后向前考虑,其实相当于是将一些一开始不同的画布两两合并,代价是两者 ...
分类:
其他好文 时间:
2017-08-07 10:07:56
阅读次数:
132
一个dp,f(i,j)表示前i个house都paint了且第i个house paint成color_j的最小cost。 背包问题同 Minimum Adjustment Cost ...
分类:
其他好文 时间:
2017-08-06 18:03:55
阅读次数:
192
Bizon the Champion isn't just attentive, he also is very hardworking. Bizon the Champion decided to paint his old fence his favorite color, orange. Th ...
分类:
其他好文 时间:
2017-08-02 17:01:52
阅读次数:
173
Count the Colors Time Limit: 2 Seconds Memory Limit: 65536 KB Painting some colored segments on a line, some previously painted segments may be covere ...
分类:
其他好文 时间:
2017-07-22 23:36:26
阅读次数:
179
Painting Storages Time Limit: 2 Seconds Memory Limit: 65536 KB There is a straight highway with N storages alongside it labeled by 1,2,3,...,N. Bob as ...
分类:
其他好文 时间:
2017-07-18 21:31:40
阅读次数:
157
题意: 按如图的顺序给定2个骰子的颜色(只有r、b、g三种颜色) 问2个骰子是否一模一样 如 可表示为“rbgggr” 和 “rggbgr”, 第二个就是绕着Z轴顺时针旋转90度与第一个相同的骰子. 分析: 记录一个错误的做法:并不是只要两面两面互相映射, 如rbrggb 与 rgrgbb, 即使 ...
分类:
其他好文 时间:
2017-07-10 20:15:54
阅读次数:
157