题目:
Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, white and blue.Here, we will use the integers...
分类:
其他好文 时间:
2015-04-10 11:27:26
阅读次数:
129
problem:
Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, white and blue.
Here, we wi...
分类:
其他好文 时间:
2015-04-09 17:32:33
阅读次数:
105
F - Count the Colors
Time Limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld & %llu
Submit Status Practice ZOJ 1610
Description
Painting some colored segments on a line, some previously pain...
分类:
其他好文 时间:
2015-04-07 10:05:31
阅读次数:
164
Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, white and blue.
Here, we will use the integers ...
分类:
其他好文 时间:
2015-04-06 23:19:26
阅读次数:
176
Count the ColorsTime Limit:2000MSMemory Limit:65536KB64bit IO Format:%lld & %lluSubmitStatusPracticeZOJ 1610DescriptionPainting some colored segments ...
分类:
其他好文 时间:
2015-04-06 12:40:24
阅读次数:
134
Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, white and blue.
Here, we will use the integer...
分类:
其他好文 时间:
2015-04-06 11:29:06
阅读次数:
121
题目:
Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors
in the order red, white and blue.
Here, we will use th...
分类:
其他好文 时间:
2015-04-03 15:19:02
阅读次数:
102
Given an array withnobjects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, wh...
分类:
其他好文 时间:
2015-04-01 17:25:05
阅读次数:
143
Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, white and blue.
Here, we will use the integers ...
分类:
其他好文 时间:
2015-04-01 11:25:15
阅读次数:
88
Painting some colored segments on a line, some previously painted segments may be covered by some the subsequent ones.
Your task is counting the segments of different colors you can see at last.
...
分类:
其他好文 时间:
2015-03-21 17:10:10
阅读次数:
133