All source shortest path
All source shortest path
P5905 [template] Johnson's all source shortest path - New Ecology of computer science education in Luogu (luogu.com.cn)
Like Floyd, Johnson is an algorithm that can find the shortest path between any two points on a nonnegative ring graph.
1. Algorithm overview
The shortest path between any two points can be solved by e ...
Posted by syamswaroop on Tue, 30 Nov 2021 20:58:43 -0800
openstack-M version, learning notes 3
The notes are learned according to the old boy Video + official documents and recorded. If there are mistakes and omissions, those in a good mood can point out them. Video address: https://www.bilibili.com/video/BV1LJ411Y7og?p=12
Certification services (keystone)
Authentication service mainly has three functions: authentication managem ...
Posted by a2bardeals on Tue, 30 Nov 2021 20:47:54 -0800
LeetCode brush questions - restore IP address #93#Medium
Discussion on the idea and source code of restoring IP address The problem of restoring IP address is shown in the figure below. This problem belongs to the type of string and backtracking. It mainly focuses on the use of backtracking traversal method and the understanding of the characteristics of string itself. In th ...
Posted by pahunrepublic on Tue, 30 Nov 2021 20:45:04 -0800
java exception and handling mechanism
1, Classification
1. Error
2. Exception
Compile time exceptionRuntime exception
2, Processing mechanism
1. Catch exception
try-catch-finally try{
//After an exception occurs, the code behind the try block exception will not be executed and will directly jump to the catch block
}catch(Exception e){
//Only when an exception occu ...
Posted by tobeyt23 on Tue, 30 Nov 2021 20:22:57 -0800
Experiment 3 transfer instruction jump principle and its simple application programming
Experiment 3 transfer instruction jump principle and its simple application programming
experimental result
task1
assume cs:code, ds:data
data segment
x db 1, 9, 3
len1 equ $ - x ; symbolic constants , $Refers to the offset address of the next data item. In this example, it is 3
y dw 1, 9, 3
len2 equ $ - y ; symbolic constants , $Refers to ...
Posted by jlambert on Tue, 30 Nov 2021 20:08:35 -0800
Lesson 3 of design pattern -- Template Method
one pattern classification
In terms of purpose:
Create pattern
Structural model
Behavioral model
In terms of scope:
The class pattern deals with the static relationship between classes and subclasses.
Object mode deals with the dynamic relationship between objects.
Classification of patterns from the perspective of packaging change:
Comp ...
Posted by PDXDesigner on Tue, 30 Nov 2021 19:55:56 -0800
Detailed introduction of building Android pre and post tasks with Gradle
Detailed introduction of building Android pre and post tasks with Gradle
preface
"Building Android pre and post tasks" refers to some operations before and after Android packages. For example, the version number is automatically modified before packaging, and reinforced after successful packaging.
The last article briefly introduced ...
Posted by reeksy on Tue, 30 Nov 2021 19:42:32 -0800
Chapter 11 - common Web applications
django commonly used Web programs
Session mechanism
When a user visits the website for the first time, the server of the website will automatically create a Session object, which is equivalent to an identity certificate of the user in the website, and the Session can store the user's data information. When users jump between web pages, the data ...
Posted by ben2468 on Tue, 30 Nov 2021 19:39:51 -0800
Go through axios completely and never be afraid to write requests again
axios request method
It mainly includes get, post, put, patch and delete
get get data
post Submit data (form submission + file upload)
put Update data (push all data to the server)
patch Update data (only the modified data is pushed to the back end)
delete Delete data
get method
Writing method Call type
axios.get('/data.json').the ...
Posted by ppera on Tue, 30 Nov 2021 19:32:12 -0800
Java Foundation (class loading and ClassLoader understanding)
When a program actively uses a class, if the class has not been loaded into memory, the system will initialize the class through the following three steps
load
Load the bytecode content of the class file into memory, convert these static data into the runtime data structure of the method area, and then generate a java.lang.Class object represe ...
Posted by luddeb on Tue, 30 Nov 2021 19:28:51 -0800