自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

转载 选择器优先级

1 <!doctype html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <meta name="Generator" content="EditPlus"> 6 <m...

2018-12-22 19:18:00 249

转载 选择器的结构关系

1 <!doctype html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <meta name="Generator" content="EditPlus®"> 6 &...

2018-12-20 22:40:00 298

转载 CSS选择器

1 <!doctyape html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <meta name="Generator" content="EditPlus®"> 6 <...

2018-12-18 21:06:00 215

转载 Img图片格式

1 <!doctype html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <meta name="Generator" content="EditPlus®"> 6 <m...

2018-12-13 21:19:00 629

转载 外边距合并与溢出

1 <!doctype html> 2 <html> 3 <head> 4 <meta charset="UTF-8"> 5 <meta name="Generator" content="EditPlus®"> 6 <meta name="...

2018-12-12 23:50:00 121

转载 margin

1 <!doctype html> 2 <html> 3 <head> 4 <title>margin</title> 5 <meta charset="utf-8"> 6 <meta name="keywords", conte...

2018-12-11 22:23:00 83

转载 padding(盒子模型,基于父级的像素百分比表示)

1 <!-- 2 <body> 3 <div> 4 <img src=""> 5 </div> 6 </body> 7 --> 8 <!--基于父级元素的百分比表示:如果是div,那么他的父级就是body,如果是img,他的父级元素就是div...

2018-12-09 23:35:00 190

转载 盒子模型

1 <!doctype html> 2 <html> 3 <head> 4 <title>盒子模型</title> 5 <meta charset="utf-8"> 6 <meta name="keywords", content...

2018-12-08 20:15:00 51

转载 css基本选择器

1 <!doctype html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <meta name="Generator" content="EditPlus®"> 6 <m...

2018-12-08 15:57:00 56

转载 css样式写法<link和style>

1 <!doctype html> 2 <html> 3 <head> 4 <meta charset="UTF-8"> 5 <meta name="Generator" content="EditPlus®"> 6 <meta ...

2018-12-08 00:33:00 494

转载 css样式

1 <!doctype html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <style type="text/css"> 6 div{ 7 width:300px; 8 he...

2018-12-06 22:05:00 66

转载 a标签的拓展(锚标签)

1 <!doctype html> 2 <html lang="en"> 3 <head> 4 </head> 5 <body> 6 <a href="#bd">百度一下</a> 7 小猪佩奇的一家 </br>小猪佩奇的一家 </br&...

2018-12-06 21:19:00 95

转载 html文件路径

1 <body>2 <img src="C:\Users\tianhaiyi\Desktop\Study\第二章\练习\1\picture\1.jpg"> <!--绝对路径,有缺点-->3 <img src="picture/1.jpg"> <!--同一目录下的图片定位-->4 <img sr...

2018-12-06 20:57:00 228

转载 html功能标签

1 <!doctype html> 2 <html> 3 <head> 4 <title>sber</title> 5 <meta charset="utf-8"> 6 <meta name="keywords", content...

2018-12-04 21:18:00 58

转载 html结构标签

1 css样式中注释只能用/* */否则样式会出错; 2 <!doctype html> 3 <html> 4 <head> 5 <title>sber</title> 6 <meta charset="utf-8"> 7 <...

2018-12-01 20:14:00 141

转载 html <head>

<base> - 定义了所有链接的URL<!DOCTYPE html><html><head><meta charset="utf-8"><title>菜鸟教程(runoob.com)</title><base href="http://www.runoob.com/...

2017-12-24 11:55:00 121

转载 html中创建电子邮件链接

<!DOCTYPE html><html><head><meta charset="utf-8"><title>创建电子邮件链接</title></head><body><p>简单创建电子邮件链接<a href="mailto:...

2017-12-24 11:32:00 1431

转载 日常

sum = lambda arg1, arg2: arg1 + arg2转载于:https://www.cnblogs.com/soTired/p/8080812.html

2017-12-21 15:31:00 79

转载 hdoj 5690 All X (快速幂+取模)

All XTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1002Accepted Submission(s): 478Problem DescriptionF(x,m) 代表一个全是由数字x组成的m位数字。请...

2016-05-24 22:20:00 84

转载 hdoj 4004 The Frog's Games(二分)

The Frog's GamesTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65768/65768 K (Java/Others)Total Submission(s): 5676Accepted Submission(s): 2732Problem DescriptionThe annual ...

2016-05-24 21:25:00 88

转载 hdoj 4006 The kth great number(优先队列)

The kth great numberTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65768/65768 K (Java/Others)Total Submission(s): 9415Accepted Submission(s): 3756Problem DescriptionXiao Mi...

2016-05-24 20:39:00 81

转载 ~~

字符串转换; s-> b 需要转换最少字符数 ;#include <cstring> #include <iostream>int min(int a,int b){ return a>b? b:a; }int dp[1010][1010];int main(){ char s[1010], b[10...

2016-05-18 21:29:00 66

转载 扶老奶奶过街

扶老奶奶过街 时间限制:1.0s 内存限制:256.0MB   一共有5个红领巾,编号分别为A、B、C、D、E,老奶奶被他们其中一个扶过了马路。  五个红领巾各自说话:  A :我和E都没有扶老奶奶  B :老奶奶是被C和E其中一个扶过大街的  C :老奶奶是被我和D其中一个扶过大街的  D :B...

2016-05-05 21:18:00 68

转载 LightOJ - 1241 Pinocchio

PinocchioTime Limit: 500MSMemory Limit: 32768KB64bit IO Format: %lld & %llu Submit Status DescriptionYou must have heard the name of Pinocchio. If you ne...

2016-05-02 19:02:00 141

转载 LightOJ - 1261 K-SAT Problem

K-SAT ProblemTime Limit: 2000MSMemory Limit: 32768KB64bit IO Format: %lld & %llu Submit Status DescriptionSAT was the first known NP-complete problem. Th...

2016-05-01 21:53:00 99

转载 lightoj - 1414 February 29

February 29Time Limit: 1000MSMemory Limit: 32768KB64bit IO Format: %lld & %llu Submit Status DescriptionIt is 2012, and it's a leap year. So there is a "...

2016-05-01 19:56:00 83

转载 zoj3870--Team Formation (异或运算)

Team FormationTime Limit: 3 Seconds Memory Limit: 131072 KBFor an upcoming programming contest, Edward, the headmaster of Marjar University, is forming a two-man team from N students of ...

2016-05-01 18:24:00 89

转载 zoj3827--Beauty of Array (dp)

Beauty of ArrayTime Limit: 2 Seconds Memory Limit: 65536 KBEdward has an array A with N integers. He defines the beauty of an array as the summation of all distinct int...

2016-05-01 16:27:00 76

转载 Kolya and Tanya (次幂取模)

Kolya and TanyaTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uDescriptionKolya loves putting gnomes at the circle table and giving them coins, and Tany...

2016-04-29 16:40:00 100

转载 LIS

1、poj3903--Stock Exchange (LIS)Stock ExchangeDescriptionThe world financial crisis is quite a subject. Some people are more relaxed while others are qu...

2016-04-27 13:40:00 73

转载 转: Beautiful Numbers (费马小定理)

Beautiful NumbersTime Limit: 2000MSMemory Limit: 262144KB64bit IO Format: %I64d & %I64u Submit Status DescriptionVitaly is a very weird man. He's got two...

2016-04-26 21:43:00 72

转载 Bear and String Distance (贪心 )

Bear and String DistanceTime Limit: 1000MSMemory Limit: 262144KB64bit IO Format: %I64d & %I64u Submit Status DescriptionLimak is a little polar bear. He ...

2016-04-26 19:31:00 79

转载 zoj3946--Highway Project

Highway ProjectTime Limit: 2 Seconds Memory Limit: 65536 KBEdward, the emperor of the Marjar Empire, wants to build some bidirectional highways so that he can reach other cities from the...

2016-04-25 22:39:00 100

转载 跳跃游戏

跳跃游戏给定一个非负整数数组,假定你的初始位置为数组第一个下标。数组中的每个元素代表你在那个位置能够跳跃的最大长度。请确认你是否能够跳跃到数组的最后一个下标。例如:A = [2,3,1,1,4],return true.A = [3,2,1,0,4],return false.格式:第一行输入一个正整数n,接下来的一行,输入数组A[n]。如果能...

2016-04-25 21:58:00 73

转载 Candy

CandyThere are NNN children standing in a line. Each child is assigned a rating value.You are giving candies to these children subjected to the following requirements:(1) Each child must ...

2016-04-25 19:53:00 51

转载 Zoj3944 - People Counting

People CountingTime Limit: 2 Seconds Memory Limit: 65536 KBIn a BG (dinner gathering) for ZJU ICPC team, the coaches wanted to count the number of people present at the BG. They did that...

2016-04-24 12:27:00 92

转载 hdoj 5586 Sum (最大连续子段和)

转变一下思维, 求差值最大连续字段和, 因为最后结果只增不减;#include <iostream>#include <cstring>#include <algorithm>using namespace std;#define N 100000+100typedef long long LL;con...

2016-04-22 20:37:00 76

转载 Vanya and Books (数位DP)

B. Vanya and Bookstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVanya got an important task — he should enum...

2016-04-21 19:14:00 132

转载 hdoj 5666 Segment(欧拉函数)

SegmentTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1012Accepted Submission(s): 368Problem DescriptionSilen August does no...

2016-04-20 14:06:00 80

转载 zzuli 1868: UP UP UP!(dp)

严格上升子序列个数;#include <cstdio>#include <cstring>#define N 110typedef long long LL;LL a[N], dp[N][N];const int MOD = 1000000000 + 7;//dp[i][j] 以i结尾长度为j的严格递增子序列长度 ; int m...

2016-04-19 22:41:00 57

空空如也

空空如也

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

TA关注的人

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