码迷,mamicode.com
首页 >  
搜索关键字:red    ( 13693个结果
Swift Tour 随笔总结 (4)
Switch的一个例子: let vegetable = "red pepper" switch vegetable { case "celery": let vegetableComment = "Add some raisins and make ants on a log." case "cu...
分类:编程语言   时间:2015-01-29 14:02:37    阅读次数:187
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
JAVA enum与int的转换——转载
转自:http://blog.csdn.net/liranke/article/details/22751453作者:langya2007对于:enum Color {RED,BLUE,BLACK YELLOW,GREEN}; (1) ordinal()方法: 返回枚举值在枚举类种的顺序。这个顺.....
分类:编程语言   时间:2015-01-29 01:24:14    阅读次数:255
html学习第二天—— 第九、十章——CSS的继承、层叠和特殊性+CSS格式化排版
继承CSS的某些样式是具有继承性的,那么什么是继承呢?继承是一种规则,它允许样式不仅应用于某个特定html标签元素,而且应用于其后代。比如下面代码:如某种颜色应用于p标签,这个颜色设置不仅应用p标签,还应用于p标签中的所有子元素文本,这里子元素为span标签。p{color:red;}三年级时,我还...
分类:Web程序   时间:2015-01-28 19:40:10    阅读次数:234
Linux温习(一)Linux软件安装及管理
Linux软件包管理系统种类 APT(Advanced Package Tool ) 包名:packagename_version_arch.deb 组成:debian-binary +control.tar.gz +data.tar.gz 常见系统:Ubuntu、Debian等 RPM(RedHat Package Management) 包名:packagena...
分类:系统相关   时间:2015-01-28 09:56:05    阅读次数:215
Linux 网络基本配置
一.Linux网络配置文件1. /etc/sysconfig/network-scripts/ifcfg-eth0 文件 在Red Hat系统中,系统网络设备的配置文件保存在/etc/sysconfig/network-scripts目录下,其中文件ifcfg-eth0包含第一块网卡的配置信息,文件...
分类:系统相关   时间:2015-01-27 23:28:50    阅读次数:393
CDZSC_2015寒假新人(4)——搜索 B
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...
分类:其他好文   时间:2015-01-27 21:43:01    阅读次数:170
[C++]LeetCode: 127 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 in...
分类:编程语言   时间:2015-01-27 15:06:38    阅读次数:145
mysql相关知识点整理
一、安装 1、查看系统中是否已安装mysql [root@master?~]#?yum?list?installed?mysql* 已加载插件:fastestmirror,?product-id,?subscription-manager This?system?is?not?registered?to?Red?Hat...
分类:数据库   时间:2015-01-27 13:40:15    阅读次数:221
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!