Java Array + String
Introduction Notes for Java Novels 2019-7-22
1. Arraya) Define array variables
Type >[] < Name > = new < Type > [Number of Elements];
eg: int[] grades =new int[100];
double[] averages = new double[100];
(The number of elements must be an integer; the number of elements must be given; th ...
Added by Arrow on Mon, 22 Jul 2019 13:13:48 +0300
Data structure Title reward (a list of topics not done)
(I decided to copy my notes from word first.)Perfect as you work on the back)
Tree Array Class 3 Applications
TYPE 1
P1908 Reverse Order Pair
Binary Index Tree
Maintain
Number greater than 6 = total - smaller than him
a:19260817
Discrete
Sort of original array
01126789
Unique weight removal (algorithm)
Arrange Find Abov ...
Added by jaret on Mon, 22 Jul 2019 02:55:12 +0300
Batch import of local photo galleries into Day One using scripts
Because iCloud currently has insufficient space, 95% of which are photos. DayOne was previously started with no space restrictions, and the subscription fee is not less than a year. DayOne is also well-known as a diary App. The most powerful features are the geographic and photo views, especially those used to remember things last year and tod ...
Added by jess3333 on Sat, 20 Jul 2019 19:54:17 +0300
[I/O multiplexing] poll system call
Article Directory
[1] Preface
[2] poll system call function prototype
[3] Program example
[4] Advantages and disadvantages of poll
[1] Preface
poll is essentially the same as select, it copies the user's incoming array into the kernel space, then queries each fd for the corresponding device stat ...
Added by Alk3m1st on Sat, 20 Jul 2019 04:08:53 +0300
Summary of the 2019-7-18 Examination
A. Star Trek
This is an Euletta question.
Because the title says that only $2$edges go once, the remaining $m-2$edges go twice,
Split this $m$two-way edge into $2$one-way edges,
The end result is to delete the two edges and make the remaining broken edges an Euler Road, (but not expected in the exam.))
Euler's Road means walking all sides ...
Added by davelr459 on Fri, 19 Jul 2019 20:47:22 +0300
Detailed implementation of the java lock read-write lock ReentrantReadWriteLock
1. ReentrantReadWriteLock feature
1.1. Fairness
Unfair Lock (default): This is the same as ReentrantLock's unfairness, since there is no lock competition between read threads, there is no fairness or unfairness in the read operation. During the write operation, one or more read or write operations are postponed because the write o ...
Added by knobby2k on Fri, 19 Jul 2019 03:23:22 +0300
28_python Data Structure-Introduction of Algorithms
I. The Concept of Algorithms
Algorithms: Algorithms are descriptions of steps to solve specific problems. They represent a finite sequence of instructions in a computer, and each instruction represents one or more operations.
2. The Characteristics of the Algorithms
1. Input and Output
The algorithm ...
Added by horseygirl on Thu, 18 Jul 2019 05:30:10 +0300
[Python Standard Library]random-Pseudo-Random Number Generator
Python version: 1.4 and later
The random module provides a fast pseudo-random number generator based on Mersenne Twister algorithm. This generator was originally developed to generate input to Monte Carlo simulation. Mersenne Twister algorithm generates a number of near-uniform distributions with a large period for various types of applica ...
Added by iceblossom on Thu, 18 Jul 2019 00:59:28 +0300
Thinking in SQL Series 6: Data Mining Apriori Association Analysis to Reproduce the Myth of Beer Diapers
When it comes to data mining machine learning, the myth about beer diapers has long been heard in my impression. This problem often appears in articles related to data warehouses, which shows how far and deep the beer diaper problem has impacted the field of data mining.Look first at the cause: The story of beer and diapers originated in Wal-Ma ...
Added by pothole_89 on Wed, 17 Jul 2019 20:37:02 +0300
fzu 2196 Escape Bidirectional bfs
Xiao Ming went into the underground labyrinth to find the treasure, but an earthquake happened after finding it. Magma was produced everywhere in the labyrinth, and Xiao Ming fled to the exit.If he leaves his treasure, Xiao Ming can leave the maze quickly, but he doesn't want to give up his hard work easily.So he rushes to contact your programm ...
Added by runelore on Wed, 17 Jul 2019 19:56:16 +0300