2021 ICPC Kunming m stone games (persistent weight segment tree)

2021 ICPC Kunming m stone games (persistent weight segment tree) At that time, I just looked at it and felt it was a line segment tree, but I couldn't write it. Now let's make up for it Main idea of the title: Give you a sequence of 1e6 in length, a (a [i] < = 1e9), and q (q < = 1E5) times. Each time, ask the interval l,r, and ask the ...

Added by Ghostu on Wed, 09 Mar 2022 11:23:44 +0200

Linux text processing

1. awk 1.1 grammar awk [options] 'BEGIN {cmd1; cmd2; ...} {cmd1; cmd2; ...} END {cmd1; cmd2; ...}' input_file Execute the script specified after BEGIN keyword before reading data; (optional)Execute the script of the middle part for each line of text in the data flow;After processing all data, execute the script specified after the END keywo ...

Added by Deadman2 on Wed, 09 Mar 2022 11:21:23 +0200

Java blocking queue -- BlockingQueue

1. What is a blocking queue? A blocking queue is a queue that supports two additional operations. These two additional operations are: when the queue is empty, the thread that gets the element will wait for the queue to become non empty. When the queue is full, the thread that stores the element waits for the queue to become available. Blockin ...

Added by feidakila on Wed, 09 Mar 2022 11:20:55 +0200

Introduction to BertTiny and deployment of OpenVINO

1, Bert introduction bert is a language model technology applied in NLP field, and Transformer, Encoder and Decoder are its core technologies. The purpose of this blog is to teach you to get started bert quickly. 1.1 what problems can Bert solve 1. Combined with the context understanding semantics, it extracts all the referential relationshi ...

Added by oscar2 on Wed, 09 Mar 2022 11:15:44 +0200

Android jetpack component - Room

What is Room? Room is a framework library covering SQLite abstraction layer specially provided by Google to simplify old-fashioned SQLite operations Room is also an ORM framework. It provides an abstraction layer on SQLite, shields some underlying details, and uses objects to operate the database. CRUD is as simple as calling methods with obje ...

Added by BobcatM on Wed, 09 Mar 2022 11:08:16 +0200

netstat command of Linux

[quick reference manual of Linux common commands] pay attention to [entry station], and the background replies to "1001" for self access.The netstat command is used to display statistics related to IP, TCP, UDP and ICMP protocols. It is generally used to check the network connection of each port of the machine. Netstat is a program th ...

Added by PowersWithin on Wed, 09 Mar 2022 11:06:54 +0200

Construction of Jenkins sequel platform based on kubernetes/k8s

Construction of Jenkins sequel platform based on kubernetes/k8s (Part 2) Jenkins master slave architecture Installing and configuring NFS Introduction to NFS NFS (Network File System), its biggest function is to enable different machines and different operating systems to share files with each other through the network. We can use NFS to sha ...

Added by benrussell on Wed, 09 Mar 2022 11:03:47 +0200

netstat command of Linux

[quick reference manual of Linux common commands] pay attention to [entry station], and the background replies to "1001" for self access. The netstat command is used to display statistics related to IP, TCP, UDP and ICMP protocols. It is generally used to check the network connection of each port of the machine. Netstat is a pro ...

Added by shadiadiph on Wed, 09 Mar 2022 11:01:51 +0200

Creation of Docker image

catalogue 1, Create from an existing image 1.1 first start an image and make modifications in the container 1.2 then submit the modified container as a new image. You need to use the ID number of the container to create a new image 2, Create based on local template 2.1 import as image 3, Create based on Dockerfile Federated file system ( ...

Added by meow on Wed, 09 Mar 2022 10:51:16 +0200

E-commerce background management system,

1, Project structure Encapsulating axios First, install axios. Generally, I will create a new network folder in the src directory of the project as our network request module, and then create a new http JS and an API JS file and a request js. http.js file is used to encapsulate our axios, API JS is used to uniformly manage our interface ...

Added by Jay_Seagrave on Wed, 09 Mar 2022 10:45:45 +0200