[programming art] analysis of darknet parse_network_cfg interface
Welcome to my official account, reply to 001 Google programming specification. O_o >_< o_O O_o ~_~ o_O this paper analyzes and introduces darknet parse_network_cfg interface, which is a hard core, is mainly used to load the model structure and implement the operator.1. darknet data loading routine Previous ...
Posted by l0ve2hat3 on Wed, 03 Nov 2021 00:08:42 -0700
Introduction to algorithm C-876. Intermediate node of linked list
LeetCode problem brushing - algorithm learning plan (Introduction)
Title Description
Introduction of ideas
My idea: first obtain the length len of the linked list, and the len / 2 + 1 node is the intermediate node (starting from 1)
The official provides the fast and slow pointer method. I think it's good. See the following for ...
Posted by BlaineSch on Tue, 02 Nov 2021 10:30:34 -0700
day01 first knowledge of C language and gcc compilation process
1, The solution prompt window flashes:
1. adopt system()Function solution:
stay return 0;Previously added system("pause"); Function call.
2. With the help of VS Tool solution:
On the project --->Right click ---> attribute ---> Configuration properties ---> Connector ---> system ---> Subsystem
---> Select con ...
Posted by sryder on Tue, 02 Nov 2021 09:00:54 -0700
Some string library functions in C language and their simulation implementation
String function (the following header files are "string.h")
1.strlen (find string length)
prototype
String counting does not need to modify the string, so it is decorated with conut;
Simulation Implementation
#include<stdio.h>
#include<Windows.h>
#include<assert.h>
#pragma warning(disable:4996)
//Method 1 ...
Posted by mikosiko on Mon, 01 Nov 2021 10:25:22 -0700
[C language] super detailed explanation of string function & & memory function (detailed explanation + code demonstration + simulation implementation)
This article mainly introduces some commonly used string functions and memory operation functions. If there is a problem with what is written, please comment
catalogue
preface
1, strlen
First, experience it through the following code
Function declaration
The following error demonstration
Simulation Implementation
About const ...
Posted by dizzy1 on Sun, 31 Oct 2021 17:42:00 -0700
Codeforces Round #751 (Div. 2)(A - C)
A.Two Subsequences
Topic Essentials
Give you a string s. You need to find two non-empty strings a and b to satisfy the following conditions: (1) Strings a and b are subsequences of s. (2) For each index i, the character s [i] in the string s must exactly belong to one of the strings a or b. (3) String a is the smallest possible dictionary ...
Posted by rash on Sun, 31 Oct 2021 11:33:25 -0700
s081 lab1--util notes
lab1—util
Before we begin, it is necessary to understand how the parameters we enter on the command line are passed to the program. For this purpose, I refer to the content of csapp.
When you input a line of command string in the command line and press enter, the shell program first parses the line of command string you input, and the parser ...
Posted by offsprg01 on Sun, 31 Oct 2021 10:46:21 -0700
[introduction to C language] Note 8
Exercise 7-8
The square matrix moves to the right. Read in two positive integers m and n (1 ≤ n ≤ 6), then read in the n-order square matrix a, and move each element in the square matrix to the right by m positions, that is, columns 0, 1,..., n-1 are transposed into columns N-M, n-m+1,..., n-1, 0, 1,..., n-m-1. The moved square matrix ca ...
Posted by parkej60 on Sun, 31 Oct 2021 06:49:25 -0700
PTA queue exercise
choice question
2-1 the condition that the circular queue with less one element space (m is the maximum queue length) is full (). A.rear== front B.(rear+1)%m==front C.(rear+1) == front D.front ==(front+1)%m
2-2 the cyclic queue is stored in array A[0... n-1], and its head and tail pointers are f and R respectively. The head pointer f always p ...
Posted by flOid on Sun, 31 Oct 2021 03:45:39 -0700
How to systematically learn C language documents
The program source code we write and the executable files generated by compilation belong to files. Therefore, the essence of a file is a continuous piece of binary data stored on an external storage medium.
c language program processes files in the form of file stream. The program runs in memory, and the files are stored on external storage ...
Posted by MasK on Sat, 30 Oct 2021 19:44:48 -0700