逃跑(escape) 题目描述 输入 第一行是5个正整数,n,m,k,S,T,分别代表无向图点数,边数,蝙蝠的数量,二小姐所在起点的编号,目标点的编号。 第二行是k个正整数,分别代表大小姐每个蝙蝠所在的起点的编号。接下来有m行,每行有4个正整数,u,v,q,p,分别是该边的起点、终点,蝙蝠通过该 路 ...
分类:
其他好文 时间:
2017-06-08 22:30:06
阅读次数:
138
Description Nadeko's birthday is approaching! As she decorated the room for the party, a long garland of Dianthus-shaped paper pieces was placed on a ...
分类:
其他好文 时间:
2017-06-08 13:05:08
阅读次数:
153
*盗链:就是别人使用自己的网站的url作为超链接 在Global.asax中, protect void Application_BeginRequest() { if(Request.UrlRefer==null||UrlCompare( Request.UrlRefer, Request.Url ...
分类:
其他好文 时间:
2017-06-07 21:05:56
阅读次数:
141
encode('string-escape') 解决 比如想匹配'\x0e\x0a'中的'\x'后的内容,这里希望把'\x0e'作为一个字符串,那么其中的\应该被转义。 未加转义的正则: p = '(?<=\x)[0-9A-Za-z]{2}' 直接这样写会报错,需要给\转义,于是变为 p = '(? ...
分类:
编程语言 时间:
2017-06-05 23:42:01
阅读次数:
193
output standard output output standard output output Ohana Matsumae is trying to clean a room, which is divided up into an n by n grid of squares. Eac ...
分类:
其他好文 时间:
2017-06-05 21:05:35
阅读次数:
232
获取到当前网址 var url = window.location.href; http://localhost:8080/exam_questions?type=3 //获取url中的参数 function getUrlParam(name) { var reg = new RegExp("(^| ...
分类:
Web程序 时间:
2017-06-04 14:38:18
阅读次数:
265
Background If thou doest well, shalt thou not be accepted? and if thou doest not well, sin lieth at the door. And unto thee shall be his desire, and t ...
分类:
其他好文 时间:
2017-06-02 22:04:05
阅读次数:
205
Zero Escape Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 864 Accepted Submission(s): 438 Pr ...
分类:
编程语言 时间:
2017-06-02 19:39:27
阅读次数:
314
0x00:php内置过滤函数php有内置的函数用来防御攻击,简单的介绍几个函数。魔术引号当打开时,所有的‘(单引号),"(双引号),\(反斜线)和NULL字符都会被自动加上一个反斜线进行转义。这和addslashes()作用完全相同。一共有三个魔术引号指令:magic_quotes_gpc影响到HTTP请..
分类:
数据库 时间:
2017-06-02 17:25:07
阅读次数:
237
Escape Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 9920 Accepted Submission(s): 2372 Problem ...
分类:
其他好文 时间:
2017-06-01 16:50:34
阅读次数:
240