对撞型指针 1. 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 colo ...
分类:
其他好文 时间:
2016-09-29 07:44:20
阅读次数:
128
方法的参数错误 比如g.setColor(int red,int green,int blue)这个方法中的三个值,如果有超过255的也会出现这个异常,因此一旦发现这个异常,我们要做的,就是赶紧去检查一下方法调用中的参数传递是不是出现了错误。 ...
分类:
编程语言 时间:
2016-09-28 16:24:08
阅读次数:
125
题目: 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 ...
分类:
其他好文 时间:
2016-09-28 01:57:24
阅读次数:
123
1 $blue : #1875e7; div { color : $blue; }2可以嵌套 div { hi { color:red; } } border-color p { border: { color: red; } } a { &:hover { color: #ffb3ff; } }3 ...
分类:
其他好文 时间:
2016-09-27 17:56:06
阅读次数:
99
蓝鸥零基础学习HTML5第九讲兼容性三1.兼容性7<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><title>Document</title><style>.box{background:red;zoom:1;}.div{width:200px;height:200px;background:blue;margin:100px;..
分类:
Web程序 时间:
2016-09-27 11:54:39
阅读次数:
212
html代码 <table style="border:1px solid blue"> <tr> <th>id</th> <th>name</th> <th>age</th> <th>sex</th> <th>操作</th> </tr> <tr> <td class="td1">1</td> <t ...
分类:
Web程序 时间:
2016-09-26 20:14:52
阅读次数:
157
1.定义网页背景颜色 <body bgcolor="背景色"> 颜色可以用2种方式表示:1. 直接指定颜色名称,如blue。2.使用十六进制数据表示如#RRGGBB,分别表示两位十六进制数据. 2.设置背景图片 <body background="图片的地址"> 3.设置文字颜色 <body tex ...
分类:
Web程序 时间:
2016-09-25 15:57:36
阅读次数:
179
border-radius:允许向元素添加圆角 box-shadow:阴影 设置多层阴影 box-shadow:10px 10px 5px 5px gray,15px 15px 5px 5px blue,20px 20px 5px 5px gray;/* 多层阴影*/ border-image属性用 ...
分类:
Web程序 时间:
2016-09-24 18:54:35
阅读次数:
240
Necklace of Beads Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 7874 Accepted: 3290 Description Beads of red, blue or green colors are co ...
分类:
其他好文 时间:
2016-09-24 14:51:46
阅读次数:
209
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, ...
分类:
其他好文 时间:
2016-09-24 12:11:38
阅读次数:
124