a1,a2,a3,a4,a5,a6...an
对ai求出a1到ai的lis,ai+1到an的lds
取所有ai对应的lis+lds最大值
输出n-lis-lds
#include
#include
#include
#include
#include
#include
using namespace std;
int n;
double num[1111];
double up...
分类:
其他好文 时间:
2014-06-09 23:29:00
阅读次数:
249
这周学习了和网页相关的ps工具,由于以前用过ps.所以学起来还是很容易的,基本上都是会的,只是没有用来设计过网页。这次主要学习的还是选区和切片,还有网页的基本组成:头部导航菜单,中间内容,底部是一些链一般的网站的宽度是固定的,高度不定。
这次有个作业拼了一个个人的作品网站,还有自己设计一个网站。.....
分类:
其他好文 时间:
2014-06-09 00:27:57
阅读次数:
348
1.CodeForces2.TopCoder3.套题训练4.其余比赛
分类:
其他好文 时间:
2014-06-08 23:58:09
阅读次数:
286
2014.06.07开机无法上网,每次都得$ sudo ifconfig eth1 up $ sudo
dhclient eth1
后面发现原来是网卡没设置开机启动编辑/etc/sysconfig/network-scripts/ifcfg-eth0ONBOOT=yes
分类:
系统相关 时间:
2014-06-08 22:11:31
阅读次数:
340
1、在导航栏上添加按钮,又两个属性:navigationItem.rightBarButtonItem和navigationItem.leftBarButtonItem2、默认情况下,导航栏上的左右按钮只能设置一张图片,要想设置普通和高亮的图片,徐自定义按钮,将按钮传给navigationItem
...
分类:
其他好文 时间:
2014-06-08 20:16:09
阅读次数:
281
菜鸟HtmlAgilityPack初体验。。。弱弱的代码。。。Html Agility
Pack是一个开源项目,为网页提供了标准的DOM API和XPath导航。使用WebBrowser和HttpWebRequest下载的网页可以用Html
Agility Pack来解析。HtmlAgilityPa...
分类:
Web程序 时间:
2014-06-08 20:07:13
阅读次数:
502
Steps1Check to see if your Ubuntu Linux operating
system architecture is 32-bit or 64-bit, open up a terminal and run the
following command below.Type...
分类:
编程语言 时间:
2014-06-08 19:51:49
阅读次数:
328
网站可能会包含一些模块:像文章、产品、图片、留言等。栏目模块主要实现功能,启用或禁用模块,模块权限设置,模块上传设置等。权限设置和上传设置以后专门考虑,先来显示或禁用模块。1、在顶部导航栏添加管理连接打开Home/Header.cshtml,在添加代码2、添加Module接口using
Ninesk...
分类:
Web程序 时间:
2014-06-08 19:39:25
阅读次数:
382
经过与开发的不断协作,终于差不多把error日志的报错信息消灭的差不多了,但还是偶尔出现“*1939anupstreamresponseisbufferedtoatemporaryfile/var/cache/nginx/proxy_temp/2/00/0000000002whilereadingupstream,client:116.231.88.XX,server:_,request:"GET/timeHTTP/1.1",up..
分类:
其他好文 时间:
2014-06-08 02:36:04
阅读次数:
223
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up to the target, whe...
分类:
其他好文 时间:
2014-06-08 02:12:04
阅读次数:
216