.edit-picture-item { float: left; position: relative; margin-left: 10px;}.edit-picture-item:hover { opacity: .8; filter: alpha(opacity=80);}兼容IE8的形式 ...
分类:
其他好文 时间:
2017-03-13 11:11:10
阅读次数:
154
线段树+扫描线 对于每条线段,分横竖考虑,排序,坐标第一关键字,左右第2关键字 对于矩形左边线段,先统计这条线段区域0的个数,在把线段树中这条线段覆盖的区域+1,右边反过来 一定要记得右端点-1(因为题目给的是点,实际上是区间) 例如1,3。其实只覆盖2个区间(1,2;2,3) #include<i ...
分类:
其他好文 时间:
2017-03-12 21:17:32
阅读次数:
188
转自 http://www.jianshu.com/p/e37495f72cf6 hihocoder 1342 解释:题目描述了一种用ASCII码绘制的满二叉树,然后将树的根设置在一个特殊坐标轴的原点(0,0),坐标轴x向下为正向,y向右是正向。树的每个树枝与节点都占用1*1的大小。现在需要求在坐标 ...
分类:
其他好文 时间:
2017-03-11 00:55:25
阅读次数:
304
Given a picture consisting of black and white pixels, and a positive integer N, find the number of black pixels located at some specific row Rand colu ...
分类:
其他好文 时间:
2017-03-07 14:08:45
阅读次数:
256
Given a picture consisting of black and white pixels, find the number of black lonely pixels. The picture is represented by a 2D char array consisting ...
分类:
其他好文 时间:
2017-03-07 09:00:25
阅读次数:
160
在Oninit() 里添加 在button里添加 ...
分类:
其他好文 时间:
2017-03-06 22:05:30
阅读次数:
252
void CMFCApplication1Dlg::OnBnClickedOk() { // TODO: 在此添加控件通知处理程序代码 CString filter; filter = "所有文件(*.bmp,*.png,*.gif,*.tiiff)|*.bmp;*.png;*.jpg;*.gif;... ...
分类:
其他好文 时间:
2017-03-06 21:12:55
阅读次数:
263
今天同事遇到一个问题,我们有两个应用,一个后台应用,主要用于运营人员编辑文章,发布到官网;一个图片服务器应用,其他很多的应用上传的图片也会存放在这,还对外提供一些查询和管理api。 前者部署在backend.domain.com,后者则部署在picture.domain.com。 后台应用在上传时, ...
分类:
Web程序 时间:
2017-03-02 22:07:50
阅读次数:
246
<!DOCTYPE html><!-- HTML5表单 --><form method="post" action="" enctype="multipart/form-data"> <h2>文件上传</h2> <input type="file" name="picture"><br/> <inp ...
分类:
Web程序 时间:
2017-03-02 10:44:30
阅读次数:
216
由OpenDigg出品的前端开源项目周报第十期来啦。我们的前端开源周报集合了OpenDigg一周来新收录的优质的前端开源项目,方便前端开发人员便捷的找到自己需要的项目工具等。unfetch极限最小的fetchpolyfillvue-picture-input移动友好的图片文件输入组件betweenJavaScript动画库vue..
分类:
其他好文 时间:
2017-03-01 14:56:38
阅读次数:
236