[Questions] AcWing 1566. Graduate Enrollment
1566. Graduate Enrollment
Theme transmission: AcWing 1566. Graduate Enrollment
It is said that,
2011
2011
In 2011, Zhejiang Province has about
100
100
100 Graduate Hospitals Ready to ...
Posted by jamiet757 on Mon, 06 Sep 2021 09:33:18 -0700
Fundamentals of C language - learning notes - detailed explanation of operators
Operators and expressions
Key points of this chapter 1. Introduction to various operators. 2. Evaluation of expression.
Operator
Classification:
Arithmetic operatorShift operators Bitwise operators Assignment operatorunary operator Relational operatorLogical operatorConditional Operator comma operator Subscript references, function calls, a ...
Posted by gregtel on Sun, 05 Sep 2021 15:40:31 -0700
C language memory layout understanding
Edit: is to create and modify the source code of C program - the program we write is called source code.Compilation: is to convert the source code into machine language. The output of the compiler becomes the object code, and the file in which they are stored is called the object file. The extension is. o or. obj. (this partial compilation refe ...
Posted by pingu on Sat, 04 Sep 2021 22:29:49 -0700
Bridging signals (longest ascending subsequence)
Bridging signals
subject
"Oh, no, they did it again," shouted the chief designer of Waferland chip factory. The wiring designer completely screwed up again, making the signals on the chip connecting the two function block ports cross each other everywhere. At a later stage of the process, the cost of rerouting is too high. Inste ...
Posted by bb_xpress on Sat, 04 Sep 2021 21:15:33 -0700
#Parameters used in define #, ##__ VA_ARGS__ And##__ VA_ARGS__
#Converts macro parameters to strings at precompile time
#define PRINT_MACRO_HELPER(x) #x
#define PRINT_MACRO(x) PRINT_MACRO_HELPER(x)
#define PRINT_ANOTHER_MACRO(x) #x"="PRINT_MACRO_HELPER(x)
char *str=PRINT_MACRO_HELPER(1235982536);
char *str2=PRINT_MACRO(i);
char *str3=PRINT_ANOTHER_MACRO(i);
printf("the string of str is %s,the string of st ...
Posted by fangorn on Fri, 03 Sep 2021 21:23:20 -0700
linux system function learning_ access function, chmod function, chown function, truncate function, rename function and link related functions
linux system function learning_( 5)access function, chmod function, chown function, truncate function, rename function and link related functions
access() function
Function: test whether the specified file has certain permissions Prototype: int access(const char *pathname, int mode); Parameters: Pathname - > file name Mode - > permissio ...
Posted by dookie on Fri, 03 Sep 2021 16:30:00 -0700
Learning records for C + + beginners 14
Chapter 14 overloaded operators and type conversion
14.1 basic concepts
A unary operator has one argument
Binary operator: the left operand is passed to the first parameter, and the right operand is the second parameter
Except overloaded function call operator(), it cannot contain default arguments
If the operator function is a member func ...
Posted by eric_e on Fri, 03 Sep 2021 13:25:17 -0700
Analysis on the problems of the 12th Blue Bridge Cup single chip microcomputer provincial competition
I have just finished this topic. Let's take a look at the topic in 2021. What's wrong? I hope you can correct it.
subject
First, there are still three modules (nixie tube, LED and key), as well as DS18B20 and DA output. I have written some provincial competition questions. I test these things every time. As long as I have pra ...
Posted by Rai_de on Thu, 02 Sep 2021 23:39:55 -0700
Implementation and application of heap
Concept and structure of reactor
If there is a key set K= Store all its elements in a one-dimensional array in the order of a complete binary tree, and meet the following requirements: 2... Is called a small pile (or a large pile). The heap with the largest root node is called the maximum heap or large root heap, and the heap with the sm ...
Posted by strudo on Thu, 02 Sep 2021 20:19:02 -0700
C language pointer -- advanced learning
Pointer advanced (I)
Pointer operation
1. Pointer operation Pointer + integer = pointer Pointer integer = the rules for pointer and addition are the same. Conclusion: actual increase \ decrease = integer + - the memory size of the type pointed to by the pointer
int a = 10,b = 20,c = 30;
printf("a=%d,b=%d,c=%d\n",a,b,c);
int *pa = &a,* ...
Posted by lutzlutz896 on Wed, 01 Sep 2021 23:03:20 -0700