[SSL] August 19, 2021 1045. Medicine collection
Original title website
For some reason, this website will not be accessible
1045. Medicine Collection - original website
Title Description
Chenchen is a gifted and intelligent child. His dream is to become the greatest doctor in the world. To this end, he wanted to learn from the most prestigious doctors nearby. The doctor gave him ...
Posted by psychohagis on Mon, 20 Dec 2021 07:34:50 +0100
PAT (Basic Level) Practice (Chinese) 1015 theory of virtue and talent (25 points)
This problem is not difficult. Just figure out the progressive sorting relationship and use the sort function. This problem tells us that if you can write c + + with vector, you don't use {array, and if you can use struct, you should use struct
Original question:
Sima Guang, a historian of the Song Dynasty, wrote a famous "theory of virt ...
Posted by Buddha443556 on Mon, 20 Dec 2021 05:32:19 +0100
16 [introduction to c + + sort
Hello, everyone. We meet again. Let's continue our study c++
outline
1. Know sort and | start address | and | end address of sort|
2. Reverse order
3. Code
4. Examples
1. Know sort and | start address | and | end address of sort|
Format:
A stands for the name of the array The starting subscript indicates the stor ...
Posted by Gafaddict on Mon, 20 Dec 2021 02:10:15 +0100
Tingzi (Chess pieces can be removed (removed)
Design Title: Introduction to Tingzi Game Design and Implementation: A tandem game in Tingzi grid in which two players representing O and X alternately fall in the grid. Any three players form a straight line to win. Today, Xiao Ming invented a new game: 1) The size of the chessboard 3x3, the winning conditions remain unchanged; (2) If a part ...
Posted by grenouille on Mon, 20 Dec 2021 01:03:01 +0100
Windows driver development learning record - string suffix matching in kernel mode
1. Premise environment
Recently, the system learning driver development, want to do a basic system loading driver filtering, which encountered the problem of string matching, record it.
1.1. Create callback using PsSetLoadImageNotifyRoutine
NTKERNELAPI
NTSTATUS
PsSetLoadImageNotifyRoutine(
_In_ PLOAD_IMAGE_NOTIFY_ROUTINE NotifyRoutine); ...
Posted by elindithas on Sun, 19 Dec 2021 19:35:07 +0100
OpenCV basic operation and detection quantity C++
<h2><a id="1OpenCV__0"></a>1.OpenCV Image loading,display, Modify and save</h2>
-(CV:: imread) load image
-(CV:: namedwindow) create a window named OpenCV
namedWindow("OpenCV window", 2)// A value of 2 allows you to resize the window with the mouse
-(CV:: imshow) disp ...
Posted by dmyst3 on Sun, 19 Dec 2021 16:35:30 +0100
Introduction to C + + language Chapter 1 basic knowledge - 1.7 pointers, arrays and references
1.7 pointers, arrays and references
The most basic data collection type is array - a sequence of elements of the same type allocated continuously in space. This is basically the mechanism provided by the hardware. Arrays with element type char can be declared as follows:
char v[6]; //An array of 6 characters
Similarly, pointers can be d ...
Posted by robert_w_ark on Sun, 19 Dec 2021 15:13:50 +0100
LeetCode 112. Path sum [c++/java detailed problem solution]
1. Title
Give you the root node root of the binary tree and an integer targetSum representing the target sum. Judge whether there is a path from the root node to the leaf node in the tree. The sum of all node values on this path is equal to the target and targetSum.
A leaf node is a node that has no children.
Example 1:
Input: root = ...
Posted by harman on Sun, 19 Dec 2021 07:36:00 +0100
c + + smart pointer
preface
Four smart pointers in C + +: auto_ptr, unique_ptr,shared_ptr, weak_ptr, of which the last three are supported by C++11, and the first has been abandoned by C++11.
Introduction to C++11 intelligent pointer
Smart pointer is mainly used to manage the memory allocated on the heap. It encapsulates the ordinary pointer as a stack object. ...
Posted by pennythetuff on Sun, 19 Dec 2021 06:47:43 +0100
[MFC] dialog box supports scroll bar function
01. Demand analysis
MFC supports scroll bar and docking. It has been added on the basis of some controls before, such as RichEdit2, Edit Control, etc. Recently, I want to make a general template to facilitate future expansion and iteration on the existing basis, and learn from some functional modules of some software. Then there is a probl ...
Posted by jamey on Sun, 19 Dec 2021 05:45:35 +0100