自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(179)
  • 收藏
  • 关注

转载 Scrum【转】

转载自:https://www.cnblogs.com/l2rf/p/5783726.html灵感来自于一段冷笑话:一天,一头猪和一只鸡在路上散步,鸡看了一下猪说,“嗨,我们合伙开一家餐馆怎么样?”,猪回头看了一下鸡说,“好主意,那你准备给餐馆起什么名字呢?”,鸡想了想说“餐馆名字叫火腿和鸡蛋怎么样?”,“我不这么认为”,猪说, “我全身投入,而你只是参与而已”对于Scr...

2019-04-28 21:59:00 147

转载 Redis

redis是一个key-value型数据库,不运行在jvm上,而是一个独立的进程;一般来说它会被当成缓存使用,因为它的速度比数据库要快,常用数据可以放在redis中,加快访存速度;redis支持可持久化(一边运行,一边把数据往硬盘中备份,防止断电等情况导致数据丢失,等断电情况恢复之后,Redis再把硬盘中的数据恢复到内存中),保证了数据的安全使用方式命令行方式插入hero...

2019-04-25 23:48:00 167

转载 mybatis

mybatis是一个开源框架,可以把java的pojo映射成数据库的中的记录;demo创建实体类,用于映射数据表package com.how2java.pojo; public class Category { private int id; private String name; public int getId() { ...

2019-04-25 23:24:00 169

转载 Spring MVC

spring 的 hello world新建并配置 web.xml,web.xml提供路径与servlet的映射关系 <servlet> <servlet-name>springmvc</servlet-name> <servlet-class> org.spr...

2019-04-25 18:38:00 123

转载 IOC的理解(转载)

转载自:https://www.zhihu.com/question/23277575/answer/169698662要了解控制反转( Inversion of Control ), 我觉得有必要先了解软件设计的一个重要思想:依赖倒置原则(Dependency Inversion Principle )。什么是依赖倒置原则?假设我们设计一辆汽车:先设计轮子,然后根据轮子...

2019-04-24 16:31:00 172

转载 spring IOC与AOP

Spring IOC容器spring IOC容器有两种,分别是 BeanFactory容器和 ApplicationContext容器。BeanFactory如下:/*第一步,利用ClassPathResource()API加载路径CLASSPATH下的可用的Bean的xml配置文件 然后利用框架提供的 XmlBeanFactory() API生成工厂Bean...

2019-04-23 09:31:00 109

转载 git

gitgit是一个分布式版本控制系统。分布式是相对于集中式来说的,对于集中式版本控制(如SVN),所有的代码都放在集中的服务器上,大家都从这个服务器下载代码,然后在本地开发,然后再上传。而分布式版本控制没有中央服务器,每个人的本地电脑都是一个完整的版本库,可以在本地创建分支,在本地提交代码,还可以提交到远程分支;git创建git的仓库就是一个文件夹目录(又叫repositor...

2019-04-18 17:33:00 141

转载 python基础2

高级特性切片切片即取一个list 或者 tuple 的部分元素L= ["abc", "bcd", "efg", 123, 666]L[0 : 3] #取前3个元素,左闭右开L[ : 3] #取前3个元素,左端索引为0可省略L[-2 : ] #取倒数第2个一直到末尾L[-3: -1] #取倒数第3和第2个,注意倒数第一个元素的索引...

2019-02-19 23:52:00 107

转载 python基础

输入输出1)print() 输出:print() 函数可接受多个字符串,用逗号隔开,print() 会依次打印每个字符串,遇到逗号会输出一个空格。print("abc", "bcd", "def")2)input() 输入:num = input("input a number:")数据类型整数、浮点数二进制数:0b110 为6 ...

2019-02-19 13:06:00 127

转载 JQuery2

效果1)显示、切换、隐藏:<script>$(function(){var div = $("#d"); $("#b1").click(function(){ div.hide(); }); /*隐藏*/ $("#b2").click(function(){ div.show(); }); /...

2019-02-18 23:24:00 130

转载 JQuery

JQueryJQuery 是一个js框架,是对js一种封装Jquery 的导入:jquery是一个第三方js库,使用时需要导入<script src="jquery.min.js"></script>$(function(){})$(function(){}) 表示当文档加载完后就执行匿名函数 function其由两部分组成 $(...

2019-02-18 12:15:00 111

转载 AJAX

AJAX 即 “Asynchronous Javascript And Xml”, (异步Javascript 和 XML),是一种在无需重新加载整个网页的情况下,能更新部分网页的技术;基于javascript;XMLHttpRequest 对象(XHR)XMLHttpRequest 对象用于在后台与服务器交换数据,就如同一个后台线程一般在用户没有感觉的情况下与服务器通信;新...

2019-01-25 20:05:00 129

转载 JSON

JSON 即 javascript 对象表示法(JavaScript Object Notation), 是一种数据存储方式创建JSON对象var dt = {"name":“XiaoMing”,"age":12};JSON对象由 {名称:值 } 组成,名称必须用双引号包含;值可以是任意js数据类型,也可以是一般对象或json对象访问JSON对象dt.name d...

2019-01-25 19:17:00 120

转载 BOM

BOMBOM即 浏览器对象模型(Browser Object Model)Window(窗口)1)window对象在页面加载后自动创建,可用于获取文档显示区域的高度和宽度2)宽度高度(仅仅是页面的宽):window.innerWidth window.innerHeight  外部浏览器的高度和宽度(包括了边框、下拉条等):window.outerWidth...

2019-01-25 18:39:00 114

转载 JS对象

Number对象1)Number对象和number基本数据类型不同;Number的类型是 Object, 而 number 的类型是 number;2)创建对象: var x = new Number(120);3)属性:最大值最小值 Number.MIN_VALUE 和 Number.MAX_VALUE 非数字:NaN(Not a ...

2019-01-25 12:38:00 107

转载 JS基础

JavaScriptJavaScript 主要用于页面与用户之间的交互,常见应用:用户输入合法检测、提交提示等。完整的JavaScript由语言、BOM和DOM组成。javascript代码可以放在<script> </script> 标签中,script标签一般放在<head> </head>中。只要加载就会执行。多段scr...

2019-01-24 15:04:00 164

转载 CSS例子

例子1<html><head> <style> body{ font-family: 宋体; font-size: 13px; width:640px; } .text1{ ...

2019-01-15 14:21:00 243

转载 CSS布局

绝对定位属性:position 属性值:absolute 1)一个元素被设置为绝对定位,则它被从原来顺序排列的html元素序列中删除(让出自己原来的坑)再基于最近的一个定位了的父容器进行绝对定位(该父容器不要求是绝对定位还是相对定位)。2)如果没有父容器或者包括该元素的所有层次的父容器都没有定位,则该元素基于body进行定位。3)显然绝对定位可能造成元素之间...

2019-01-09 17:41:00 129

转载 CSS基础3

内边距元素的内边距,指的是元素内部的内容到边框的距离。相关属性:padding-left:左内边距 padding-right:右内边距padding-top:上内边距 padding-bottom:下内边距padding:上 右 下 左 (按顺时针顺序)使用padding属性,当内边距值小于4个时:1)padding:10 20 40, ...

2019-01-09 14:18:00 103

转载 CSS基础2

元素的边框边框风格border-style属性: solid 实线;dotted 点状线; dashed 虚线; double 双线边框颜色border-color属性: red;#0f0f0f;rgb(255,0,0)边框宽度border-width属性:1px;表示边框线的粗细只显示上边框1)只设置border-top-style、border-top...

2019-01-08 11:47:00 98

转载 CSS基础

CSS语法css的语法 selector{property: value}即 选择器{属性 : 值}选择器1.用元素做选择器,直接写元素<style>p{ color: red; }</style><p> 红色</p>2.用id做选择器,用#<style...

2019-01-05 20:30:00 82

转载 HTML3

例子<table width="70%"> <form> <tr> <td align="right"><font color="#ff0000">*</font>用户名:</td> <td><input type=...

2019-01-02 20:21:00 132

转载 HTML2

例子1<html> <body> <h1>英雄联盟(电子竞技类游戏)</h1> <p> <strong>《英雄联盟》</strong>(简称lol)是由美国<i>Riot games</i>开发, 中国...

2019-01-02 15:10:00 173

转载 HTML

头部元素:<head>是所有头部元素的容器。head内部可以包含js脚本、标明css的位置。head中可以添加<tittle> <base> <link> <meta> <script> <style><tittle>元素是浏览器工具栏的标题、搜索引擎显示结果的标题。<l...

2018-12-30 13:45:00 97

转载 总结

A1001https://www.cnblogs.com/zhuqiwei-blog/p/8442154.html1、依次取一个数字的每一位,用do{num = c % 10;c = c / 10;}while(c != 0); //注意是c不是numA1002http://www.cnblogs.com/zhuqiwei-blog/p/8430912....

2018-09-09 17:33:00 206

转载 A1147. Heaps

In computer science, aheapis a specialized tree-based data structure that satisfies the heap property: if P is a parent node of C, then the key (the value) of P is either greater than or equal ...

2018-09-01 12:00:00 90

转载 A1146. Topological Order

This is a problem given in the Graduate Entrance Exam in 2018: Which of the following is NOT a topological order obtained from the given directed graph? Now you are supposed to write a program to...

2018-09-01 11:58:00 109

转载 1145. Hashing - Average Search Time

The task of this problem is simple: insert a sequence of distinct positive integers into a hash table first. Then try to find another sequence of integer keys from the table and output t...

2018-09-01 11:50:00 92

转载 A1144. The Missing Number

Given N integers, you are supposed to find the smallest positive integer that is NOT in the given list.Input Specification:Each input file contains one test case. For each case, the first lin...

2018-09-01 11:38:00 108

转载 A1143. Lowest Common Ancestor

The lowest common ancestor (LCA) of two nodes U and V in a tree is the deepest node that has both U and V as descendants.A binary search tree (BST) is recursively defined as a binary tree which...

2018-08-31 17:32:00 102

转载 A1142. Maximal Clique

Acliqueis a subset of vertices of an undirected graph such that every two distinct vertices in the clique are adjacent. Amaximal cliqueis a clique that cannot be extended by including one more...

2018-08-31 16:46:00 121

转载 A1141. PAT Ranking of Institutions

After each PAT, the PAT Center will announce the ranking of institutions based on their students' performances. Now you are asked to generate the ranklist.Input Specification:Each input file ...

2018-08-31 16:39:00 149

转载 A1140. Look-and-say Sequence

Look-and-say sequence is a sequence of integers as the following:D, D1, D111, D113, D11231, D112213111, ...whereDis in [0, 9] except 1. The (n+1)st number is a kind of description of the ...

2018-08-31 16:37:00 109

转载 A1139. First Contact

Unlike in nowadays, the way that boys and girls expressing their feelings of love was quite subtle in the early years. When a boy A had a crush on a girl B, he would usually not contact her direc...

2018-08-30 15:59:00 240

转载 A1138. Postorder Traversal

Suppose that all the keys in a binary tree are distinct positive integers. Given the preorder and inorder traversal sequences, you are supposed to output the first number of the postorder travers...

2018-08-30 14:56:00 138

转载 A1137. Final Grading

For a student taking the online course "Data Structures" on China University MOOC (http://www.icourse163.org/), to be qualified for a certificate, he/she must first obtain no less than 200 points...

2018-08-30 14:52:00 113

转载 A1136. Delayed Palindrome

Consider a positive integerNwritten in standard notation withk+1digitsa​i​​asa​k​​⋯a​1​​a​0​​with0for allianda​k​​>0. ThenNispalindromicif and only ifa​i​​=a​k−i​​for alli....

2018-08-30 14:41:00 131

转载 A1135. Is It A Red-Black Tree

There is a kind of balanced binary search tree namedred-black treein the data structure. It has the following 5 properties:(1) Every node is either red or black.(2) The root is black.(3...

2018-08-29 14:00:00 97

转载 A1134. Vertex Cover

Avertex coverof a graph is a set of vertices such that each edge of the graph is incident to at least one vertex of the set. Now given a graph with several vertex sets, you are supposed to tell...

2018-08-29 13:45:00 126

转载 A1133. Splitting A Linked List

Given a singly linked list, you are supposed to rearrange its elements so that all the negative values appear before all of the non-negatives, and all the values in [0, K] appear before all those...

2018-08-29 13:35:00 115

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除