码迷,mamicode.com
首页 > 其他好文
LeetCode之“动态规划”:Longest Valid Parentheses
题目链接 题目要求: Given a string containing just the characters'('and')', find the length of the longest valid (well-formed) parentheses substring. For...
分类:其他好文   时间:2015-06-12 23:52:34    阅读次数:120
acdream 1683 村民的怪癖(KMP,经典变形)
Problem Description娜娜费劲九牛二虎之力终于把糖果吃完了(说好的吃不完呢?骗人,口亨~),于是,缘溪行,忘路之远近。忽逢桃花林,夹岸数百步,中无杂树,芳草鲜美,落英缤纷,娜娜甚异之。复前行,欲穷其林。林尽水源,便得一山,山有小口,仿佛若有光。便舍船,从口入。初极狭,才通人。复行数十...
分类:其他好文   时间:2015-06-12 23:52:30    阅读次数:112
多表查询分页存储过程,解决了第二页不显示的问题
SET ANSI_NULLS OFFGOSET QUOTED_IDENTIFIER OFFGOALTER PROCEDURE [dbo].[UP_Pagination]/*****************************************************************...
分类:其他好文   时间:2015-06-12 23:52:58    阅读次数:131
UVA 11752 超级幂
UVA 11752 超级幂Z -The Super PowersTime Limit:1000MSMemory Limit:0KB64bit IO Format:%lld & %lluSubmitStatusPracticeUVA 11752Description题意:定义一个数为超级幂,当这个数能...
分类:其他好文   时间:2015-06-12 23:52:48    阅读次数:160
杭电2089--不要62(打表)
不要62Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 24788Accepted Submission(s): 8517Problem Descr...
分类:其他好文   时间:2015-06-12 23:53:44    阅读次数:135
为何毕业即失业
Before i share my view which about how to be a real college student,i want to show a sentence first:the art of being wise is the art of knowing what t...
分类:其他好文   时间:2015-06-12 23:51:05    阅读次数:136
设计模式1--简单工厂
1、什么是设计模式: 引用百度:设计模式(Design pattern)是一套被反复使用、多数人知晓的、经过分类编目的、代码设计经验的总结。使用设计模式是为了可重用代码、让代码更容易被他人理解、保证代码可靠性。 毫无疑问,设计模式于己于他人于系统都是多赢的;设计模式使代码编制真正工程化;设计模式是....
分类:其他好文   时间:2015-06-12 23:52:51    阅读次数:151
hdu 3999 The order of a Tree
题目连接http://acm.hdu.edu.cn/showproblem.php?pid=3999The order of a TreeDescriptionAs we know,the shape of a binary search tree is greatly related to the...
分类:其他好文   时间:2015-06-12 23:50:33    阅读次数:126
【安全】requests和BeautifulSoup小试牛刀
web安全的题,为了找key随手写的程序,无处安放,姑且贴上来。 1 # -*- coding: UTF-8 -*- 2 __author__ = 'weimw' 3 4 import requests 5 from BeautifulSoup import BeautifulSoup 6 7 .....
分类:其他好文   时间:2015-06-12 23:49:50    阅读次数:189
ZigZag Conversion
1. Question给定行数,将某字符串转换为zigzag形式,然后按行输出。zigzag形式如:The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you...
分类:其他好文   时间:2015-06-12 23:52:02    阅读次数:245
Longest Palindromic Substring
1. Question求最长回文子串Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists...
分类:其他好文   时间:2015-06-12 23:49:08    阅读次数:228
网络管理中的常见软件和管理维护
常见软件提升国内网络管理的整体水平相比海外而言,国内的网络管理起步较晚,用户的管理水平也不及海外。科来积极的将此项技术应用于网络 故障解决、网络性能提升与网络安全防护,旨在提升国内的网络管理水平,缩短与国外的差距,帮助用户实 现对其网络的全可视化,透过网络现象看到本质,真正的驾驭自己的网络。帮助网络...
分类:其他好文   时间:2015-06-12 23:49:05    阅读次数:227
零拷贝传输(zero-copy transfer)——sendfile()
做Web服务器时通常需要将文件传送出去,其中一种方法是通过定义一个buffer每次读取文件发送给接收端。大多数服务器会选择sendfile的方式,nginx实现时就是采用这种方式。对于并发搞得服务器性能上能得到优势。 对于第一种方式需要进入内核两次,分别是读取磁盘文件和写入socket,对...
分类:其他好文   时间:2015-06-12 23:47:33    阅读次数:148
location对象
属性名例子说明hash"#contents"返回URL中的hash(#号后跟零或多个字符),如果URL中不包含散列,则返回空字符串host"www.wrox.com:80"返回服务器的名称和端口号(如果有)hostname"www.wrox.com"返回不带端口号的服务器名称href"http://...
分类:其他好文   时间:2015-06-12 23:47:15    阅读次数:151
[LeetCode] Binary Tree Upside Down
Problem Description:Given a binary tree where all the right nodes are either leaf nodes with a sibling (a left node that shares the same parent node) ...
分类:其他好文   时间:2015-06-12 23:47:36    阅读次数:159
《场景调研》
《场景调研》(1)典型用户:姓名:刘彦权专业:13级土木年龄:21职业:学生比例:半数重要性:重要知识层次和能力:一次性考过了计算机1,2级,对电脑有着由衷的喜爱,对电脑的操作很熟练(2)用户需求:由于用户是社团的部长且家离学校很远,为了能够与老乡,父母和亲朋好友以及部员和其他部长的联系比较频繁,....
分类:其他好文   时间:2015-06-12 23:49:15    阅读次数:134
hdoj 2568 前进
前进Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5001Accepted Submission(s): 3902Problem Descript...
分类:其他好文   时间:2015-06-12 23:48:53    阅读次数:180
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!