javaScript平滑滚动...
分类:
编程语言 时间:
2014-08-01 10:56:11
阅读次数:
177
多校中的线段树,看题解出题人的意思这道题目应该不简单。但是好像数据比较弱啊。竟然可以水过去啊、、、
用一个标记,标记当前这一段是否被更新过,如果更新过就为1,否则为0。
一定要注意最后一个空格输出。
Nice boat
Time Limit: 30000/15000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Ot...
分类:
其他好文 时间:
2014-08-01 10:56:01
阅读次数:
202
'DB_TYPE' => 'pdo', // 数据库类型
'DB_USER' => 'user101', // 用户名
'DB_PWD' => 'zb~!@#$%', // 密码
'DB_PREFIX' => 'TB_', // 数据库表前缀
'DB_DSN' ...
分类:
数据库 时间:
2014-08-01 10:55:51
阅读次数:
554
ioctl.h 分析
我自己画了个解析图。。。不要嫌弃丑啊。。。哈哈
type
The magic number. Just choose one number (after consultingioctl-number.txt ) and use it throughout the driver. This field is eight b...
分类:
其他好文 时间:
2014-08-01 10:55:41
阅读次数:
234
没有什么技术性的分析,只是个人吐槽而已。
一般人遇到问题就会说一句“百度一下”,说实话,百度在中国推广的真的很不错,可谓是家喻户晓,搜索个八卦新闻,小文章,小电影什么的的确很不错,
但是我发现,在百度上搜索“技术类”文章真的让我很失望啊,反倒是在google上搜索技术类很快就能找到答案。
最近很多人可以发现,google现在上不去了。不管是台湾的服务器或者是香港的服务器都上不去了。
这...
分类:
其他好文 时间:
2014-08-01 10:55:31
阅读次数:
199
数据库的配置:
连接字符串:
server=潘尚\\SQLEXPRESS;database=db_test;Trusted_Connection=true
连接代码:
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq...
分类:
数据库 时间:
2014-08-01 10:55:21
阅读次数:
236
题意:给出袋子的体积和骨头的个数,然后又给出每个骨头的价值和体积,求袋子最多能装的骨头的价值
难点;这道题是最基础的01背包题,不懂得话推荐看《背包九讲》
AC by SWS
题目链接 http://acm.hdu.edu.cn/showproblem.php?pid=2602
代码:
#include
#include
typedef struct{
int w, v;
}str;...
分类:
其他好文 时间:
2014-08-01 10:55:11
阅读次数:
215
html编辑器tinymce使用配置教程实例demo分享 源代码教程地址:http://www.zuidaima.com/share/1550463284202496.htm...
分类:
Web程序 时间:
2014-08-01 10:55:01
阅读次数:
201
Web Servics faultCode: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}InvalidSecurity
faultSubcode:
faultString: 验证消息的安全性时发生错误。...
分类:
Web程序 时间:
2014-08-01 10:54:51
阅读次数:
313
第一次使用 队列+邻接表 处理拓扑排序,这里做出详细解释以及结合图标,希望下次能一目了然,也希望能帮到大家...
分类:
其他好文 时间:
2014-08-01 10:54:41
阅读次数:
204
Description
At the entrance to the university, there is a huge rectangular billboard of size h*w (h is its height and w is its width). The board is the place where all possible announcements are po...
分类:
其他好文 时间:
2014-08-01 10:54:34
阅读次数:
209
Problem Description
Bob is a strategy game programming specialist. In his new city building game the gaming environment is as follows: a city is built up by areas, in which there are streets, trees...
分类:
其他好文 时间:
2014-08-01 10:54:28
阅读次数:
315
迷瘴
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 3819 Accepted Submission(s): 1316
Problem Description
通过悬崖的yifenfei,又面临着幽谷的考验...
分类:
其他好文 时间:
2014-08-01 10:54:20
阅读次数:
194
CSS盒子模式具备的属性: 内容(content)、填充(padding)、边框(border)、边界(margin)。从上面的例子来看:内容即对应盒内的物品;填充对应盒内为了防止物品破碎的填充物;边框则是盒子的纸壳部分;边界就是纸壳外围的间隙了。
标准流,是指各元素没有特殊规则时的排列方式。它分为两类:块级元素和行内元素。二者的区别在于块级元素拥有自己的区域,而行内元素没有。...
分类:
Web程序 时间:
2014-08-01 10:54:20
阅读次数:
305
在浏览网页的时候,如果有新的消息,如何接收到?HTTP协议不能由服务器主动给客户端发送消息。1、刷微博、逛论坛贴吧,想看最新的信息怎么办?F5刷新一下就OK了!2、上面一种方式是被动的,如果用户不去刷新页面,就看不到消息。如何让服务器主动推送消息给客户端浏览器,一种方式是用setInterval来Ajax定时刷新。这样一来,刷新操作不是由用户来操作,而是由浏览器去自动发起请求,用户无法察觉到,给用...
分类:
编程语言 时间:
2014-08-01 10:53:51
阅读次数:
284
题解:对于输入的边,我们首先按照速度从大到小排序,然后对于每一次询问,st end 两个城市,我们暴力枚举,
for(int i = 0; i
上马:
//187MS 300K
#include
#include
using namespace std;
#define MAX 205
#define INF 1<<30
int N,M,Q;
struct Edge
{
...
分类:
其他好文 时间:
2014-08-01 10:53:31
阅读次数:
204
Problem Description
A few days ago, Tom was tired of all the PC-games, so he went back to some old FC-games. "Hudson's Adventure Island" was his favorite which he had played thousands of times. But t...
分类:
其他好文 时间:
2014-08-01 10:53:21
阅读次数:
300