Trade Network (Reverse Shortest Path)
Topics
\(solution:\)
Speaking about the nature of the shortest path, it can solve the problem of finding the shortest path. But such a problem can only be guaranteed to have either of the following two properties:
The upper boundaries of the path I have traveled will not change!
The length of the path must vary monotonously after I walk thr ...
Posted by robinas on Tue, 08 Oct 2019 20:35:39 -0700
Perfect implementation of saving and loading easyui datagrid custom adjustment column width location hiding property function
Requirements & Scenarios
Example table query is the most used and basic function in business system, but it is also the most common adjustment. Different users have different requirements for data. So after the system is formally used, as a development, they would like to sit on the business side and adjust according to their requirements. ...
Posted by Paul1893 on Tue, 08 Oct 2019 19:26:34 -0700
Custom form export excel
Attention:
1. When the ID card number 18 bits is exported to excel, it is a scientific counting method, which can convert text format in Excel table to restore normal.
Operating method
https://jingyan.baidu.com/article/8ebacdf0d76c6349f65cd5ff.html
2. When using the regional linkage brought by Zh ...
Posted by schwa97 on Tue, 08 Oct 2019 18:49:57 -0700
Reference to pull-down refresh of mui
```javascri[tmui.init({pullRefresh: {Container: " refreshContainer", // to refresh the area identifier, querySelector can locate css selectors, such as: id,. class, etc.up: {auto: true, // optional, default false. Auto upload onceContent refresh: "Loading...", // Optional, when loading state, the title content displayed on ...
Posted by Zpixel on Tue, 08 Oct 2019 15:09:48 -0700
day77 W3C simulation construction
Review
"""
1,Advanced selector:
1) body div Progeny, control the latter, the former is decorated
2) body > div The latter is controlled by descendants, and the former is decorated.
3).d1 ~ .d2 Brothers, control the latter, the front is decorated
4).d1 + .d2 Neighbouring, controlling the latter, the front is decorated
...
Posted by naskar on Tue, 08 Oct 2019 12:12:52 -0700
Some random number attack scripts
At the xman summer camp, the big man brought us cryptography courses. Among them, the random number part feels deeply and records several scripts.
1. Time as the Random Number of Seeds
https://www.jarvisoj.com/ [xman 2019] babyrpd
Server-side code
1 class Unbuffered(object):
2 def __init__(self, stream):
3 self.stream = str ...
Posted by houssam_ballout on Tue, 08 Oct 2019 10:06:01 -0700
YII Source Analysis-Processing Request Procedure
The content of this article
Starting from the request entry file, the process of sending the response component to the user browser is briefly analyzed.
Process analysis
From the entry document, look directly at the key points and analyze the startup process of application.
$config = require __DIR__.'/../config/web.php';
(new yii\web\Applicati ...
Posted by Anant on Tue, 08 Oct 2019 06:42:07 -0700
tarjan algorithm-cutting edge of undirected graph
In undirected graphs, u is the parent of v
The value of low(v) represents the timestamp of the largest ancestor node that V considers accessible through u
Low (v) >= DFN (u) means that V must access ancestor nodes through v-u (excluding u), and there is no other way. (cut point)
Low (v) > DFN (u) indicates that V must access ancestor n ...
Posted by MikeSpider on Tue, 08 Oct 2019 05:04:38 -0700
Summer vacation training 2019.08.01 chemistry
Title:
Give a tree with $n $dots, $m $queries. Give $x $for each query, and find the smallest $k $to break the $k $edge off the tree and reconnect the $k $edge to form a new tree. The tree's center of gravity is $x$.
$ $
The center of gravity of a tree: For every node in a rootless tree, the node with the largest subtree and the smallest subtre ...
Posted by Volte on Tue, 08 Oct 2019 01:23:12 -0700
PHP High Speed Shared Memory Table Based on Table Lock
Recent research on multi-process concurrency of liunx servers has found many problems among process concurrency. The most important one is content collaboration. So a simple table class based on liunx semaphores is made to share it.
<?php
namespace Table;
/* Multi-process shared memory based on table lock */
class Table
{
/* Shared mem ...
Posted by mattennant on Mon, 07 Oct 2019 19:57:14 -0700