public function changeCoverName(){ //$type = '考研'; //$coverPath = './Public/course_cover/kaoyan/'; $type = '四六级'; $coverPath = './Public/course_cover/
分类:
移动开发 时间:
2016-03-05 13:01:34
阅读次数:
163
1017 - Exact cover Time Limit: 15s Memory Limit: 128MB Special Judge Submissions: 6751 Solved: 3519 DescriptionThere is an N*M matrix with only 0s and
分类:
其他好文 时间:
2016-03-01 23:55:24
阅读次数:
295
hapi does not support serving static files out of the box. Instead it relies on a module called Inert. This lesson will cover serving static files usi
background-size cover contain区别 兼容ie7 ie8 filter
分类:
其他好文 时间:
2016-02-22 01:34:29
阅读次数:
309
沉浸式学 Git cover — contents — about 目录 设置 再谈设置 创建项目 检查状态 做更改 暂存更改 暂存与提交 提交更改 更改而非文件 历史 别名 获得旧版本 给版本打标签 撤销本地更改 撤销暂存的更改 撤销提交的更改 从分支移除提交 移除 oops 标签 修正提交 移动
分类:
其他好文 时间:
2016-02-07 02:23:43
阅读次数:
210
hdu1255 求覆盖至少两次的面积,和直接求覆盖面积比,就是保证cover>1就可以了。 没有进行lazy操作,因为每一次更新伴随着询问,感觉没有必要。982MS水过。 #include <bits/stdc++.h> #define clr(x,c) memset(x,c,sizeof(x))
分类:
其他好文 时间:
2016-02-02 19:52:09
阅读次数:
243
【题意】 一段区间初始均为可行。有两个操作: 1→找出长度为w的一段可行区间,如果存在则返回这个可行区间最靠左的情况,并将该区间设为不可行; 2→将区间[a,b]设为可行区间。 【思路】 经典的线段树合并,代码依旧用的是神犇的线段树模板。详见注释。 【错误点】 延迟标记的时候,忘记把cover清为-
分类:
其他好文 时间:
2016-01-31 13:12:08
阅读次数:
205
网络流,Dinic G++ 964ms水过,SAP 620ms AC 源点到每一个防晒霜建边,容量为cover[i]; 每一个防晒霜与它能保护的奶牛之间连一条边,容量为1; 每一个奶牛连到汇点一条边,容量为1。 最大流就是答案。 Dinic模板: #include<cstdio> #include<
分类:
其他好文 时间:
2016-01-29 19:51:15
阅读次数:
182
In this tutorial we will learn the usage of final keyword. final keyword can be used along with variables, methods and classes. We will cover followin...
分类:
其他好文 时间:
2016-01-19 14:13:12
阅读次数:
125
.page{ background:url(images/page2_bg.jpg) top center no-repeat; background-size:cover; filter:progid:DXImageTransform.Microsoft.AlphaIma...
分类:
其他好文 时间:
2016-01-18 11:59:02
阅读次数:
118