Blue Bridge Cup PREV-55 small calculator
Problem description
Analog program calculator, input the instructions in turn, and the possible instructions include
1. Number: 'NUM X', X is a string containing only uppercase letters and numbers, indicating a current base number
2. Operation instructions: 'ADD', 'SUB', 'MUL', 'DIV' and 'MOD', respec ...
Added by LarryK on Wed, 29 Jan 2020 19:05:18 +0200
Leetcode problem solving - double pointer
Double pointers are mainly used to traverse arrays, and two pointers point to different elements, so as to cooperate to complete tasks.
1. Two Sum of ordered array
Leetcode-167. Sum of two numbers II - input ordered array
Given an ordered array in ascending order, find two numbers so that the sum ...
Added by nadinengland on Wed, 29 Jan 2020 12:33:17 +0200
Deep Residual Shrinking Network
ResNet, a deep residual network, won the Best Paper Award at the 2016 CVPR conference and has so far received 38295 academic citations from Google.
The deep residual shrinking network is a new and improved version of deep residual network, which is actually a deep integration of deep residual network, attention mechanism and soft threshold fun ...
Added by CircularStopSign on Tue, 28 Jan 2020 18:53:24 +0200
Pure js to realize the effect of custom scroll bar
Custom scroll bar
Functional requirements: Create menu content according to data. Click to expand the menu. If the content overflows, a scroll bar will appear. The height of the scroll bar will change with the height of the content. Drag the scroll bar with the mouse, and the content of the menu will ...
Added by Steffen on Tue, 28 Jan 2020 17:43:38 +0200
Pure js realizes full screen icon rotation chart, and custom icon display quantity
Home icon carousel
Function requirements: automatically generate page content according to the number of icons, complete the rotation chart of icon buttons; with the browser window zooming, make the page content automatically zooming;
Extension: the number of icons per page and line can be displayed b ...
Added by colemanm on Tue, 28 Jan 2020 16:20:09 +0200
Using C + + with lua
There are the following considerations in the development of C + + in combination with lua:
1. C + + reusability is not strong
2. Frequent update of code driven scripts on business requirements, C + + can also do it is more laborious
3. Generally, there are many Luas, which are faster, simpler and lig ...
Added by phpcoder24july on Tue, 28 Jan 2020 13:07:59 +0200
Code of Java linked list
Code of Java linked list
Use of single chain table
The use of double linked list
josephus problem
Use of stack
Use of single chain table
Functions:
Adding link list nodes
Deletion of linked list nodes
Modification of linked list node
Nodes traversing linked list
Get the number of nodes ...
Added by thebusinesslad on Mon, 27 Jan 2020 18:43:25 +0200
The python implementation of photogrammetric space resection
Photogrammetry programming 1 - space resection
A file needs to be created for the required data
1) Obtain known data. The average altitude and the main distance of the camera are obtained from the aerial photogrammetry data, and the ground measurement coordinates of the control points are obtained and ...
Added by cap97 on Mon, 27 Jan 2020 06:53:07 +0200
C Language Library Function--qsort
Article Directory
header file
Function declaration
Parameter declaration
Some common examples
1. Sort one-dimensional arrays
2. Sorting a two-dimensional array
3. Sort arrays of char type
4. Sort arrays of type double
5. Primary Sorting of Structures
6. Secondary Sorting of Structures
7. Sort string ...
Added by shab620 on Mon, 27 Jan 2020 03:37:50 +0200
What is a heap in the series of one text to understand data structure? Just read this one
This paper will first introduce what is heap, then introduce the insert and delete operation of heap, and finally give the code implementation of heap and test it.
What is a heap?
A heap is a complete binary tree. The value of a node in the heap is always no greater than or no less than the value of i ...
Added by shaneH on Sun, 26 Jan 2020 13:46:14 +0200