- 博客(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
359
转载 选择器的结构关系
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
407
转载 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
322
转载 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
741
转载 外边距合并与溢出
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
175
转载 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
130
转载 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
260
转载 盒子模型
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
87
转载 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
87
转载 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
597
转载 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
108
转载 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
140
转载 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
292
转载 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
99
转载 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
223
转载 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
172
转载 html中创建电子邮件链接
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>创建电子邮件链接</title> </head> <body> <p>简单创建电子邮件链接 <a href="mailto:...
2017-12-24 11:32:00
1756
转载 日常
sum = lambda arg1, arg2: arg1 + arg2 转载于:https://www.cnblogs.com/soTired/p/8080812.html
2017-12-21 15:31:00
124
转载 hdoj 5690 All X (快速幂+取模)
All X Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1002Accepted Submission(s): 478 Problem Description F(x,m) 代表一个全是由数字x组成的m位数字。请...
2016-05-24 22:20:00
122
转载 hdoj 4004 The Frog's Games(二分)
The Frog's Games Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65768/65768 K (Java/Others)Total Submission(s): 5676Accepted Submission(s): 2732 Problem Description The annual ...
2016-05-24 21:25:00
147
转载 hdoj 4006 The kth great number(优先队列)
The kth great number Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65768/65768 K (Java/Others)Total Submission(s): 9415Accepted Submission(s): 3756 Problem Description Xiao Mi...
2016-05-24 20:39:00
135
转载 ~~
字符串转换; 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
114
转载 扶老奶奶过街
扶老奶奶过街 时间限制: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
120
转载 LightOJ - 1241 Pinocchio
Pinocchio Time Limit: 500MS Memory Limit: 32768KB 64bit IO Format: %lld & %llu Submit Status Description You must have heard the name of Pinocchio. If you ne...
2016-05-02 19:02:00
195
转载 LightOJ - 1261 K-SAT Problem
K-SAT Problem Time Limit: 2000MS Memory Limit: 32768KB 64bit IO Format: %lld & %llu Submit Status Description SAT was the first known NP-complete problem. Th...
2016-05-01 21:53:00
150
转载 lightoj - 1414 February 29
February 29 Time Limit: 1000MS Memory Limit: 32768KB 64bit IO Format: %lld & %llu Submit Status Description It is 2012, and it's a leap year. So there is a "...
2016-05-01 19:56:00
145
转载 zoj3870--Team Formation (异或运算)
Team FormationTime Limit: 3 Seconds Memory Limit: 131072 KB For 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
134
转载 zoj3827--Beauty of Array (dp)
Beauty of Array Time Limit: 2 Seconds Memory Limit: 65536 KB Edward 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
122
转载 Kolya and Tanya (次幂取模)
Kolya and Tanya Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Description Kolya loves putting gnomes at the circle table and giving them coins, and Tany...
2016-04-29 16:40:00
153
转载 LIS
1、poj3903--Stock Exchange (LIS) Stock Exchange Description The world financial crisis is quite a subject. Some people are more relaxed while others are qu...
2016-04-27 13:40:00
113
转载 转: Beautiful Numbers (费马小定理)
Beautiful Numbers Time Limit: 2000MS Memory Limit: 262144KB 64bit IO Format: %I64d & %I64u Submit Status Description Vitaly is a very weird man. He's got two...
2016-04-26 21:43:00
137
转载 Bear and String Distance (贪心 )
Bear and String Distance Time Limit: 1000MS Memory Limit: 262144KB 64bit IO Format: %I64d & %I64u Submit Status Description Limak is a little polar bear. He ...
2016-04-26 19:31:00
139
转载 zoj3946--Highway Project
Highway ProjectTime Limit: 2 Seconds Memory Limit: 65536 KB Edward, 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
159
转载 跳跃游戏
跳跃游戏 给定一个非负整数数组,假定你的初始位置为数组第一个下标。 数组中的每个元素代表你在那个位置能够跳跃的最大长度。 请确认你是否能够跳跃到数组的最后一个下标。 例如: 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
100
转载 Candy
Candy There 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
82
转载 Zoj3944 - People Counting
People CountingTime Limit: 2 Seconds Memory Limit: 65536 KB In 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
156
转载 hdoj 5586 Sum (最大连续子段和)
转变一下思维, 求差值最大连续字段和, 因为最后结果只增不减; #include <iostream> #include <cstring> #include <algorithm> using namespace std; #define N 100000+100 typedef long long LL; con...
2016-04-22 20:37:00
127
转载 Vanya and Books (数位DP)
B. Vanya and Books time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Vanya got an important task — he should enum...
2016-04-21 19:14:00
194
转载 hdoj 5666 Segment(欧拉函数)
Segment Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1012Accepted Submission(s): 368 Problem Description Silen August does no...
2016-04-20 14:06:00
123
转载 zzuli 1868: UP UP UP!(dp)
严格上升子序列个数; #include <cstdio> #include <cstring> #define N 110 typedef 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
95
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅