L2-010 row seats (25 points) (collective search and graphic analysis)
The most subtle thing in arranging a banquet is to arrange seats for all guests who come to the banquet. In any case, you can't line up two dead rivals at the same banquet table! This difficult task is now up to you. For any pair of guests, please write a program to tell the host whether they can be arranged at the same table. Input format:
In ...
Added by said_r3000 on Sat, 19 Feb 2022 02:46:44 +0200
[Java] learning notes - use of methods
[Java] use of learning notes 4- method
preface
Main contents: ☑️ Understanding and use of methods. ☑️ The understanding and application of recursion.
Tip: the following is the main content of this article. The following cases can be used for reference
1, Basic usage of method
1. What is the method
A method is a snippet of code ...
Added by tripc1 on Sat, 19 Feb 2022 02:39:31 +0200
Enumeration of the path of Java engineers to God
Original author: Hollis
Enumeration usage
1 background
Before the introduction of enumeration types in the java language, the common mode of representing enumeration types was to declare a set of constants with int. Previously, we usually used the public final static method to define the following codes: 1 for spring, 2 for summer, 3 for aut ...
Added by Valord on Sat, 19 Feb 2022 02:29:01 +0200
web experiment record
Experiment content:
An interactive interface is designed, as shown in the figure. The upper part is the input area and the lower part is the table display area. The table data is dynamically requested through Jquery Ajax.
Purpose and requirements of the experiment:
(1) Understand and master the get mode request of Jquery AJAX (2) Understand ...
Added by unplugme71 on Sat, 19 Feb 2022 02:29:37 +0200
Basic concept of figure - Liu Zhiyu 1
Graph has recently become a core area of machine learning. For example, you can predict potential connections to understand the structure of social networks, detect fraud, understand consumer behavior of car rental services, or make real-time recommendations. Recently, Ma ë l Fabien, a data scientist, published a series of articles on grap ...
Added by justbane on Sat, 19 Feb 2022 02:25:45 +0200
ECMAScript-4 [function basis and type - shape argument and Mapping - variable type]
1, Function basis and types
(1) Concept of function
The process of encapsulating a fixed function or program segment is the process of defining a function and realizing a fixed function or program. An entry and exit are required in this package.The entry is the parameter and the exit is the return.
(2) Concept of high cohesion and low coupli ...
Added by IronWarrior on Sat, 19 Feb 2022 02:12:29 +0200
Centos installs MysqlServer and MysqlWorkbench
centos system MysqlCommunityServer8.0.24 MysqlWorkbench8.0.22
First, delete mysql from centos system
The reason for deletion is that it does not fit Version 8.0.24 of MysqlCommunity and MysqlWorkbench are installed Step 1 First check whether the system comes with Mysql
[dalaojun@localhost download]$ whereis mysql
mysql: /usr/bin/mysql /usr/l ...
Added by geekette on Sat, 19 Feb 2022 02:06:36 +0200
mac vim installs the YouCompleteMe plug-in for automatic completion
preface
I often use vim for c/c++/go development. Although vim also has its own automatic completion (control+n, control+p), it is still troublesome in operation. I hope it can be realized. If you enter some words, you can directly pop up a drop-down box to prompt all possible words. A search on the Internet found that everyone was pushing You ...
Added by jamfrag on Sat, 19 Feb 2022 02:00:06 +0200
JavaScript_DOM programming art Chapter05 best practices, Chapter06 picture library improved version -- 20210427
Chapter05
link
Pseudo protocol
Pseudo protocol that can be used to link JavaScript functions: javascript:
<a href="javascript:function_name(parameter)">Example</a>
<a href="javascript:pop('http://www.baidu.com/')">Example</a>
This is a very bad practice. It can only be used in browsers that support pseudo protocol ...
Added by tartou2 on Sat, 19 Feb 2022 01:59:27 +0200
Conversion from Leetcode Dijsktra problem to BFS
It's the old rule. 1102 743 1129 1514 1631 787. Among them, 787 is more complex. The last exercise is recommended.
There is also 1334 (this problem is solved by floyd algorithm, because it is not the shortest single source, but the shortest multi-source. I think it is too textbook. Reciting floyd is a second kill)
There are still a lot of pro ...
Added by infid3l on Sat, 19 Feb 2022 01:45:34 +0200