码迷,mamicode.com
首页 >  
搜索关键字:blue    ( 1833个结果
[LeetCode]75.Sort Colors
【题目】 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...
分类:其他好文   时间:2015-02-03 09:29:30    阅读次数:118
jQuery慢慢啃之CSS(五)
1.css(name|pro|[,val|fn])//访问匹配元素的样式属性$("p").css("color");//获取$("p").css({ "color": "#ff0011", "background": "blue" });//属性组设置$("p").css("color","red"...
分类:Web程序   时间:2015-02-02 19:36:29    阅读次数:134
POJ 3080 Blue Jeans
这题绝对是被坑的滴血,我真想对网上某某人说,去你大爷的。 这题的思路挺简单,本来我以为要用的什么高深的算法,可是听别人说,直接暴力就可以解决,于是就做了。本来很快写好代码,可是语句代码坑了我好长好长时间。 #include #include #include #include #include #include using namespace std; char dna[11][65]; ch...
分类:其他好文   时间:2015-02-01 20:29:30    阅读次数:207
Reverse Words in a String
Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".public class Solution { pub...
分类:其他好文   时间:2015-02-01 16:02:21    阅读次数:192
Sort Colors
题目: 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 ...
分类:其他好文   时间:2015-01-31 12:46:38    阅读次数:131
F Takio与Blue的人生赢家之战
Time Limit:1000MS Memory Limit:65535K题型: 编程题语言: 无限制描述在那个风起云涌的SCAU ACM里,有两位人生赢家,他们分别是大洲Takio神和Blue神。 (尤其是blue神。)由于这两位人生赢家代码能力强,才高八斗,学富五车,英俊潇洒,玉树临风...
分类:其他好文   时间:2015-01-31 10:34:36    阅读次数:178
LeetCode-Sort Colors
题目链接:https://oj.leetcode.com/problems/sort-colors/ 题目: 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 or...
分类:其他好文   时间:2015-01-30 09:07:20    阅读次数:236
Sort Colors
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/43302343 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....
分类:其他好文   时间:2015-01-30 09:04:36    阅读次数:140
cf B Red and Blue Balls
思路:把字符串转化为一个二进制,遇到B就是一个数二进制中的1,答案就是这个数。 1 #include 2 #include 3 #include 4 #define ll __int64 5 using namespace std; 6 7 int n; 8 char str[100]; 9...
分类:其他好文   时间:2015-01-29 12:24:07    阅读次数:177
LeetCode-Sort Colors
题目链接:https://oj.leetcode.com/problems/sort-colors/ 题目信息: 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 ...
分类:其他好文   时间:2015-01-29 09:28:58    阅读次数:109
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!