码迷,mamicode.com
首页 >  
搜索关键字:red    ( 13693个结果
HDU 搜索练习 Red and Black
Red and Black Problem Description There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing ...
分类:其他好文   时间:2016-04-17 20:33:16    阅读次数:157
【USACO1.1】Broken Necklace
题意 一个环形项链,有rbw三种珠子,r代表red,b代表blue,w代表white,从任意一个位置断开,两端分别取珠子,同一端取的珠子要相同颜色,w可以染成想要的颜色,即既可当作r也可以当作b,求最多取得的珠子个数。最多有350个珠子。 分析 可以枚举断开的位置,然后模拟取珠子。也可以枚举起点位置 ...
分类:其他好文   时间:2016-04-17 17:44:01    阅读次数:141
JQuery 中 创建节点,修改节点属性
var content = $("<div></div>"); content.text("新建节点的内容"); //content.html("<b>hello</b>"); content.addClass("one"); content.css("background-color","red" ...
分类:Web程序   时间:2016-04-17 12:56:20    阅读次数:166
JQuery each 方法
用 JQuery 中的each 方法可以方便的遍历节点的集合,使用方法如下: 使用案例一: $("input[type='text']").each(function(index){ $(this).css("background-color","red"); }); 使用案例二: $("#cont ...
分类:Web程序   时间:2016-04-17 12:54:49    阅读次数:159
有趣的linux命令
安装工具 debian =》 apt-get (In Debian like OS) red hat=》 yum -y (In Red Hat like OS) mac =》 brew sl 火车命令 toilet 好玩的文字命令 cowsay 牛说 cmatrix 自动掉文字 ...
分类:系统相关   时间:2016-04-17 00:40:08    阅读次数:185
poj 1979 Red and Black
DFS 没什么好说的 新id在poj交的第一题,应该选G++而不是GCC的。无辜CE三次。好像不能命名数组名为map也会CE的。 代码 ...
分类:其他好文   时间:2016-04-16 10:49:41    阅读次数:161
hdu 1312 Red and Black (bfs)
Problem Description There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black til ...
分类:其他好文   时间:2016-04-15 19:56:05    阅读次数:140
android在代码中四种设置控件(以及TextView的文字颜色)背景颜色的方法
TextView tText=(TextView) findViewById(R.id.textv_name); //第1种: tText.setTextColor(android.graphics.Color.RED);//系统自带的颜色类 // 第2种: tText.setTextColor(0 ...
分类:移动开发   时间:2016-04-15 18:06:54    阅读次数:170
Incorrect integer value: '' for column 'RegNum' at row 1
数据库版本: 5.6.16??操作系统: Red Hat Enterprise Linux Server release 6.3 (Santiago)??在插入数据的时候提示告警:?mysql> show warnings;+ + + +| Level | Code | Message |+ + + ...
分类:其他好文   时间:2016-04-15 18:00:53    阅读次数:148
利用枚举类型实现统计
口袋中有5种颜色的小球,每次从口袋中任意取3个,问得到3种不同颜色的小球的可能取法?#define_CRT_SECURE_NO_WARNINGS1#include<iostream>#include<iomanip>usingnamespacestd;intmain(){ enumcolor{red,yellow,blue,white,black};//声明枚举类型color colorpri;/..
分类:其他好文   时间:2016-04-14 22:38:14    阅读次数:227
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!