This week I mainly looked at the search questions in Luogu. To be honest, I personally feel that there is a great polarization in this part of the questions. Simple questions are very simple. Some can set templates directly, and the questions are also very clear. Difficult questions make me feel that if I don't know in advance that they are sea ...
Posted by BuzFortuna on Sun, 17 Apr 2022 04:55:39 +0300
Recently, I prepared to brush the questions. I intend to simply encapsulate the random number generator to facilitate the generation of test data. STL of C++11 provides many distribution types. Uniform distribution is commonly used. There are two types of evenly distributed values, one is integer and the other is floating point number. STL defi ...
Posted by matrixd on Sun, 17 Apr 2022 04:10:39 +0300
1, nginx introduction
1. Definition
As a performance-oriented HTTP server, Nginx has the advantages of less memory and high stability compared with Apache and lighttpd.
2. Advantages
Less memory, high stability and modularity
3. Usage scenario
Web server, reverse proxy server and e-mail (IMAP/POP3) proxy server. High concurrency and h ...
Posted by playa4real on Sun, 17 Apr 2022 02:40:55 +0300
8.1 object oriented
The so-called object-oriented is based on the concept of object, taking object as the center and taking class and inheritance as the construction mechanism to understand, understand and describe the objective world and design and build the corresponding software system (simulated reality). Object oriented programming has fo ...
Posted by portia on Sun, 17 Apr 2022 00:15:47 +0300
In the past two days, I found a very interesting topic, not that it is very difficult, but that this topic is indeed a classic dfs problem, which can be encountered by basic beginners. However, if this is only the case, this topic is not of great value to say, but it is very special that this topic is a classic dfs to dp problem, which I think ...
Posted by kylebragger on Sat, 16 Apr 2022 12:30:19 +0300
Various constants about C + +
Ben Xiaobai understands the usage of const keyword in C + +, so he makes a note here Today, I met some questions raised by my classmates in my teaching assistant work. I think they are very meaningful and important. I'm here to sort out what I learned
Usage of const in procedure oriented programming:
Modify the ...
Posted by Round on Sat, 16 Apr 2022 08:40:16 +0300
Contents of this chapter
catalogue
1. Concept of high-precision algorithm
1.1 concept of high precision algorithm
2. Ideas of high-precision algorithm
2.1 high precision addition
2.2 high precision subtraction
2.3 high precision multiplication
2.4 high precision Division
3. Code of high-precision algorithm
3.1 high precision addition ...
Posted by SystemOverload on Sat, 16 Apr 2022 05:46:01 +0300
18900 little brother's math problem
Time limit: 2000MS} code length limit: 10KB Number of submissions: 37 number of passes: 2
Question type: programming language: G++;GCC
Description
Fczzz and big guy are good friends. Big guy has a lovely brother (hereinafter referred to as little brother) >. As a computer major student, big guy oft ...
Posted by deansp2001 on Fri, 15 Apr 2022 22:27:48 +0300
Windows services
Create long-running executable applications in Windows.
These services can be started automatically when the computer starts, can be paused and restarted, and do not display any user interface. It is very suitable for use on the server, or in order not to affect other users working on the same computer when they need to run t ...
cv::Mat
Reference link:
OpenCV: cv::Mat Class Reference
brief introduction
The Mat class of OpenCV can represent an N-dimensional array, and each position of the array can be single channel or multi-channel. It can be used to store pictures (gray or color), vectors, histograms and many other things.
We record an array stored in Mat a ...