题目描述有m个盒子,第i个盒子的长尾hi,宽为wi。如果两个盒子i,j满足hi#include#includeusing
namespace std;const int maxn=20001;struct node{ int x,y;}box[maxn];int
a[maxn];bool cm...
分类:
其他好文 时间:
2014-05-20 02:11:24
阅读次数:
251
1、css样式1.fpage{text-align:center;clear:both;padding-top:10px;}2.fpage
a{font-size:14px;border:1pxsolid#ccc;padding:3px;box-shadow:0px0px3px#bbb;}3.fpa...
分类:
Web程序 时间:
2014-05-19 10:27:42
阅读次数:
376
宿主机mac os无法连接到虚拟机centos
虚拟机通过vagrant up启动
有做端口映射
开启局域网访问...
分类:
其他好文 时间:
2014-05-15 19:40:30
阅读次数:
227
final JLabel j1=new JLabel("测试");
JButton jb=new JButton("测试事件监听");
jb.addMouseListener(new MouseAdapter(){
public void mousePressed(MouseEvent e){
j1.setText("鼠标按下");/j1必须用final修饰。
}
});...
分类:
编程语言 时间:
2014-05-15 06:33:25
阅读次数:
397
Oracle Linux 6.3已经发布快2年了,其功能有很大的提升,增强了KVM,文件卷的在线resizing,LVM支持 raid4, 5, 6,支持更多的虚拟CPU数以及更大内存,具体可以参考Oracle官方文档。本文主要描述基于Virtual Box(4.3.6)下安装Oracle Linux 6.3。...
分类:
数据库 时间:
2014-05-15 03:13:16
阅读次数:
344
function Box(){}var box = new
Box();alert(box.prototype); //使用对象实例无法访问到prototypealert(box._proto_);
//输出[object][object] 使用对象实例可以访问prototype的指针alert.....
分类:
其他好文 时间:
2014-05-12 10:09:33
阅读次数:
255
.box{overflow:auto;zoom:1;}.box-in{display:inline-block;vertical-align:top;}.border-box{-webkit-box-sizing:
border-box;-moz-box-sizing: border-box;box...
分类:
Web程序 时间:
2014-05-12 06:14:48
阅读次数:
460
Windows界面编程第一篇 位图背景与位图画刷
可以通过WM_CTLCOLORDLG消息来设置对话框的背景,MSDN上对这个消息的说明如下:TheWM_CTLCOLORDLGmessage is sent
to a dialog box before the system draws the di...
分类:
Windows程序 时间:
2014-05-12 00:56:39
阅读次数:
1748
CSS3 box-shadow
如下所示:查看更多:http://www.w3cplus.com/content/css3-box-shadow
分类:
Web程序 时间:
2014-05-10 20:35:12
阅读次数:
538
工作中遇到的一些css知识!记录下来就是宝贵的财富。1, box-shadow :
向框添加一个或多个阴影 box-shadow: h-shadow(必需)水平阴影的位置,允许负值 v-shadow(必需)垂直阴影的位置
blur(可选)模糊距离 spread(可选)阴影的尺寸 color(可选)....
分类:
Web程序 时间:
2014-05-10 06:37:47
阅读次数:
360