[c++] STL Source Analysis: Iterator and Trats Programming Skills
Reference book STL Source Analysis
STL mainly learns the following parts:I. Containers
1. Sequential containers
vector list deque
2. Associated Container, Red-Black Tree BST
set multiset map multimap//observer mode
3. Container adapter deque
stack queue priority_queueII. ...
Posted by Haktar on Sat, 27 Jul 2019 09:41:51 +0200
First Problem Solution of ACM Summer Training in Inner Mongolia (Primary Group)
List of topics:
Problem A Miss Sister's Programming Questions
Problem B A's brushing exercises
Problem C Small A origami crane
Problem D Little A plays games with little sister
Problem E Small A earns bonuses
Problem F Little A and Little Sister Paint the Balloon
Problem G Little A's Date
...
Posted by shatner on Fri, 26 Jul 2019 14:49:43 +0200
$2019 $Summer Rewrite Record $2 (Basic Algorithms Project)
\ (2019) Summer Scrubbing Records (2\\\\) Basic Algorithms
\(by~~wch\)
\(BZOJ~1958~Strange~Towers~of~Hanoi\) (Dynamic programming, recursion)
Main idea of the title:
The problem of Hanoi Tower with (n) plates and (4) towers is solved.
\(solotion:\)
First of all, we need to refer to the Hanoi Tower of the three towers: (g[i]=2*g[i-1]+1)
Th ...
Posted by zulfer on Fri, 26 Jul 2019 05:41:31 +0200
A Brief Talk on Java Generics
I. Overview
Generics play an important role in Java and are widely used in face-to-face object programming and various design patterns.
What is generics? Why use generics?
Generics are "parameterized types". When referring to parameters, a method is defined with tangible parameters, and an argument is passed when a method is invoke ...
Posted by amorphous on Thu, 25 Jul 2019 12:18:54 +0200
Introduction to Python Crawler [5]: 27270 Picture Crawling
Today, continue to crawl a website, http://www.27270.com/ent/meinvtupian/This website has anti-crawling, so some of the code we downloaded is not very well handled, you focus on learning ideas, what suggestions can be commented on in the place to tell me.
For the future direction of network request operation, we simply encapsulate some code th ...
Posted by Jove on Thu, 25 Jul 2019 12:09:31 +0200
Design Patterns | Dynamic and Static Agents
Proxy Pattern, also known as Delegate Pattern, is a structural design pattern and a basic design skill. In daily applications, the use of proxy mode is very high. Many other design modes are essentially targeted optimization of proxy mode in a specific context, which shows the importance of proxy mode.
_The first section of this pa ...
Posted by samudasu on Thu, 25 Jul 2019 10:40:50 +0200
The biggest feature of Java 8: Lambda expressions
I. Introduction
The biggest feature of Java 8 is the introduction of Lambda expressions, i.e. functional programming, which can transfer behavior. The conclusion is: using immutable values and functions, functions process immutable values and map them to another value.
2. Important Functional Inter ...
Posted by teejayuu on Thu, 25 Jul 2019 09:09:24 +0200
Jakartase_Multithread--Thread Synchronization Method--Synchronization Block
Introduction and outline
One of the most common situations that occur in concurrent programming is that more than one thread of execution uses shared resources. In concurrency In an application, it is normal for multiple threads to read or write the same data or access the same file or database connection. . These shared resources can ca ...
Posted by emilyfrazier on Wed, 24 Jul 2019 04:22:02 +0200
Java Language Programming. Chapter 3 Selection of Basic Chapter
Java Language Programming. Chapter 3 Selection of Basic Chapter
Below are some exercises in Chapter 3.
A single branch if statement is an action performed if and only if the condition is true. The statement is designed as follows:
If (Boolean expression){
Statements (Groups)
}
Double branch if-else ...
Posted by erfg1 on Tue, 23 Jul 2019 12:22:32 +0200
Use Qiniu Cloud to Store Pictures
Now many websites will use a large number of pictures, and pictures are the main amount of data in the transmission of web pages, but also one of the factors affecting the performance of websites. As a result, many websites will separate image storage from websites, and build one or more servers to store pictures, while pictures on webpages use ...
Posted by MichaelMackey on Tue, 23 Jul 2019 12:06:47 +0200