[1.1 case C] please write a thousand lines student management system with me in C language

1, This goal Complete all preparations before the core header file, including the creation of a new project from VS2022 to the preparation of the first custom header file. GitHub: https://github.com/ITchujian/StudentManagementSystem_2022_C Note: in order to share the experience of this development, I will put the analysis process and ...

Posted by jazz_snob on Wed, 26 Jan 2022 16:39:42 +0100

Use of monotone stack (with examples, from easy to difficult)

preface This article uses three examples to explain the single adjustment stack What is a monotone stack The elements in the stack are strictly or non strictly monotonically increasing or decreasing When implementing, maintain the order of elements in the stack Example 1 Acwing1978 (simple) Title Link https://www.acwing.com/problem/content ...

Posted by Hangston on Wed, 26 Jan 2022 14:52:38 +0100

Convert the value of key value pair to NSNumber type into standard string

The apple client receives the data from the background and needs to convert it into an object before it can be used. Some beginners or lazy people may directly use the results put back in the background without object conversion. Even no matter what type of data is processed according to string, it will be converted to the types defined by inte ...

Posted by SharkBait on Wed, 26 Jan 2022 11:27:14 +0100

[title record] - Asian regional competition of the 46th ICPC international college student programming competition (Shanghai)

Title set address Asian regional competition of the 46th ICPC international college student programming competition (Shanghai) The first training during the holiday, the effect was good, and I did two sign in questions of DE This supplementary question: DE (sign in) G (DP on tree) I (DP) J (bit operation) K (structure) D Strange_Fr ...

Posted by miltonbanks on Wed, 26 Jan 2022 07:35:43 +0100

Solution to group C of JAVA University in the 12th Blue Bridge Cup provincial competition

A: ASC code public class A_ASC { public static void main(String[] args) { System.out.println((int) 'L'); // out: 76 } } B: Space code public class B_space { public static void main(String[] args) { // 32 bits = 4 bytes 4B, 1MB = 1024KB = 1024 * 1024B System.out.println(256 * 1024 * 1024 / ...

Posted by jcd on Wed, 26 Jan 2022 06:38:05 +0100

Algorithm learning (disciple plan) 3-2 hash table, bloom filter and classic problem learning notes

preface (7.3, 3 lessons short, do your best!) This article is the learning notes for the eighth lecture of the algorithm class. 3-2 section 2 of Chapter V: hash table and bloom filter (as usual, the shortest learning time is still challenged this time, and it is expected to be less than 3 times the time) (the difficulty of this course ...

Posted by Alex C on Wed, 26 Jan 2022 03:39:38 +0100

Brush questions every day Day13

Question 1: the next larger element I The next larger element of the number x in nums1 refers to the first element larger than x to the right of the corresponding position of X in nums2. Give you two arrays nums1 and nums2 without duplicate elements. The subscript counts from 0, where nums1 is a subset of nums2. For each 0 < = I < nums1 L ...

Posted by sniped22 on Wed, 26 Jan 2022 03:03:15 +0100

Study notes - LCT

preface It's too difficult ~ but the winter camp talks about this thing. Open the pit in advance. Pre cheese Define #define ls tr[x].ch[0] #define rs tr[x].ch[1] struct Tree{int ch[2],val,fa,rev,xv;}tr[MAXN]; LCT? How does LCT surpass the general tree section and balance tree to achieve the effect of maintaining a forest? LCT has some properti ...

Posted by mcfmullen on Wed, 26 Jan 2022 02:37:50 +0100

whp 6 - Codeforces Round #767 (Div. 2)

Codeforces Round #767 (Div. 2) Codeforces Round #767 (Div. 2) A. Download More RAM #include <bits/stdc++.h> using namespace std; typedef long long ll; const ll N = 110; struct node { ll a, b; }; node mp[N]; signed main() { ios::sync_with_stdio(false), cin.tie(nullptr), cout.tie(nullptr); ll T; cin >> T; ...

Posted by tet3828 on Wed, 26 Jan 2022 01:58:48 +0100

Merge sort of eight sorts

Basic introduction to merging and sorting Merge sort is a sort method based on the idea of merging. The algorithm adopts the classical divide and conquer strategy Divide and conquer divides the problem into some small problems and then solves them recursively, while the conquer stage "fixes" the answers obtained in different stages, ...

Posted by jmaker on Wed, 26 Jan 2022 00:36:29 +0100