HTML learning punch in_ Day3
Learn HTML - punch in!!! Day3
1,HTML CSS
1.1. HTML style CSS
**Function: * * CSS is used to render the style of HTML element tags
Example:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>
Rookie tutorial(runoob.com)
</title>
</head>
<body>
<div style="opacity:0.5 ...
Added by flyersun on Mon, 29 Nov 2021 20:48:33 +0200
Search algorithm ① basic
① Linear lookup: 1) The simplest search algorithm: directly scan the array with the for loop, look at each number, find the desired number, or count the desired results;
//Find how many numbers are equal to x
for (int i=0;i<n;i++){
if(a[i]==x){
cnt++;
}
}
//Find the first position equal to x
int p=-1;//Nonexistence is represented by - ...
Added by seek on Mon, 29 Nov 2021 19:34:20 +0200
Basic functions of single linked list (add, delete, change, query, find length and sort)
Linked list is a common data structure. It is different from common arrays. When using an array, you must first specify the number of elements contained in the array, that is, the length of the array. However, if the elements added to the array exceed the size of the array, you cannot save all the contents. the number of elements ...
Added by Aptana on Sun, 28 Nov 2021 19:08:06 +0200
HZNUOJ problem dynamic programming
hznuoj topic
[C series synthesis 1] game master I
Description
ydw of ACM team is a game enthusiast. He likes to play all kinds of stand-alone games and is happy to get all kinds of endings. However, due to the limited time (he also has to issue TAT), he can only choose a few endings he likes to pass. Because ydw is a game exper ...
Added by markusn00b on Sun, 28 Nov 2021 14:07:47 +0200
Summary of the third week
I
P1059 [NOIP2006 popularity group] clear random number
Title Description
Mingming wants to invite some students to do a questionnaire survey in the school. For the objectivity of the experiment, he first uses the computer to generate N random integers between 1 and 1000 (n ≤ 100). For the repeated numbers, only one is retained, and the o ...
Added by lostcarpark on Sun, 28 Nov 2021 12:18:35 +0200
c/c++linux background development blood washing notes 2.2.2 application of reactor in network components
Network programming concerns
Connection establishment
It is divided into two types: the server handles the connection of the receiving client, and the server connects to the third-party service as the client;
int clientfd = accept(listenfd, addr, sz);
int connectfd = socket(AF_INET, SOCK_STREAM, 0);
connect(connectfd, (struct sockaddr *)&a ...
Added by baudday on Sat, 27 Nov 2021 23:17:52 +0200
Chapter V program design of circular structure
catalogue
Concept blank
5
6
Single choice questions
14
15
Reading program questions
1
2
3
4
5
7
9
10
11
12
13
14
16
17
18
19
21
Perfect program questions
1
2
3
4
10
11
12
Concept blank
5
code
#include<stdio.h>
int main()
{
int k, x;
for (k = 0, x = 0; k <= 9 && x != 10; k++) {
x = x + ...
Added by phpMover on Sat, 27 Nov 2021 20:59:42 +0200
1018 hammer scissors cloth (20 points)
Everyone should be able to play the game of "hammer, scissors and cloth": two people give gestures at the same time, and the winning and losing rules are shown in the figure:
Now the record of the confrontation between the two is given. Please count the number of wins, draws and losses of both sides, and give what gestures the two ...
Added by grim1208 on Sat, 27 Nov 2021 04:42:07 +0200
C language breakthrough advanced - data storage
1. Introduction to data type
We have already learned the basic data types:
char //Character data type
short //Short
int //plastic
long //Long integer
long long //Longer shaping
float //Single-precision floating-point
double //Double precision floating point number
For more details, please refer to this website
In particular, there ...
Added by mikeT on Fri, 26 Nov 2021 16:03:08 +0200
Data structure and algorithm learning note tree
Data structure and algorithm learning notes (7) tree
Previous review
1, Definition of tree and binary tree
1. Trees
Definition of tree
Recursive nested definition
Other representations of trees
It's a bit like this markdown syntax:
AB
E
KL F C
G D
H
M IJ
Basic terms of trees ...
Added by caedo on Thu, 25 Nov 2021 00:59:12 +0200