码迷,mamicode.com
首页 >  
搜索关键字:c. kyoya and colored    ( 385个结果
ZOJ 2165 Red and Black
DescriptionThere is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a...
分类:其他好文   时间:2014-08-01 12:50:41    阅读次数:285
poj 2513 -- Colored Sticks
Colored SticksTime Limit: 5000MSMemory Limit: 128000KTotal Submissions: 30037Accepted: 7924DescriptionYou are given a bunch of wooden sticks. Each end...
分类:其他好文   时间:2014-07-31 16:42:16    阅读次数:173
ZOJ 2165
Red and BlackTime Limit:2 Seconds Memory Limit:65536 KBThere is a rectangular room, covered with square tiles. Each tile is colored either red or blac...
分类:其他好文   时间:2014-07-31 12:18:26    阅读次数:213
测试赛A - Colored Sticks(并查集+字典树+欧拉回路)
A - Colored Sticks Time Limit:5000MS     Memory Limit:128000KB     64bit IO Format:%I64d & %I64u Submit Status Description You are given a bunch of wooden sticks. Each endpoint of each...
分类:其他好文   时间:2014-07-30 17:45:54    阅读次数:246
UVa 340 Master-Mind Hints
Master-Mind Hints  MasterMind is a game for two players. One of them, Designer, selects a secret code. The other,Breaker, tries to break it. A code is no more than a row of colored dots. ...
分类:其他好文   时间:2014-07-30 14:44:53    阅读次数:242
POJ-2513 Colored Sticks(字典树+并查集+欧拉)
题目链接:Colored Sticks 一道3个知识点结合的题目,可以说单个知识点的题目,都会做,一旦知识点结合起来,题目就不简单了 思路:这个题开始看就知道是并查集,但是不好处理的不同种单词的统计,所以理所应当联想到字典树,上次做字典树的题目是统计相同单词数,这个题目和那个一样,把flag加个编号即可,再利用并查集。 1750ms  水过 #include #inclu...
分类:其他好文   时间:2014-07-29 14:45:48    阅读次数:198
POJ训练计划_Colored Sticks(字典树+判断欧拉通路)
解题报告 题意: 问给...
分类:其他好文   时间:2014-07-29 14:36:19    阅读次数:159
POJ 2513 Colored Sticks(字典树+并查集连通性+欧拉回路)
题目地址:POJ 2513 刚开始没想到字典树,用的map函数一直TLE,由于上一次的签到题由于没想到字典树而卡了好长时间的深刻教训,于是过了不久就想起来用字典树了,(为什么是在TLE了5次之后。。T^T)是在然后把map改成了字典树,然后就过了。 这题居然不知不觉的用上了欧拉回路。。其实当时我是这样想的。。因为相互接触的必须要相同,所以除了两端外,其他的都是两两相同的,所以除了两端的颜色外其...
分类:其他好文   时间:2014-07-29 14:31:58    阅读次数:295
[原]NGUI之按钮置灰
传统按钮置灰,需要使用另外一张纹理。本例通过修改shader和NGUI sprite的r值实现按钮置灰。优势:节省纹理,操作简单将NGUI Unlit/Transparent Colored片段部分改成如下:fixed4 frag (v2f i) : COLOR{ fixed4 col= te...
分类:其他好文   时间:2014-07-28 14:52:43    阅读次数:392
Sort Colors leetcode java
题目: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 r....
分类:编程语言   时间:2014-07-28 11:34:20    阅读次数:297
385条   上一页 1 ... 33 34 35 36 37 ... 39 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!