51nod1005 -- large number addition [high precision]

1005 large number addition  Base time limit: 1 second space limit: 131072 KB score: 0 Difficulty: basic question Collection Concern Two large integers a and B are given, and the result of A+B is calculated. Input Line 1: large A Line 2: large B (the length of a and B is less than 10000. Note: A and B may be negative.) ...

Posted by manianprasanna on Fri, 03 Jan 2020 23:21:00 -0800

Codeforces round (Div. 2) C. gambling

Title: That is, two people each have a list, two people take turns to operate. There are two options for each operation: One is to select a number from your own list, add it to your score, and delete this element from the total list. The other is to delete the other element. Maximum difference required Analysis: Select th ...

Posted by selenin on Fri, 03 Jan 2020 20:14:19 -0800

18 19 20 py if statement comparison operator assertions

The fourth lesson Conditional statement( if,else and elif) # coding:utf-8 python The language is defined by indented code blocks # Conditional statements (if, else, and elif) ''' if logic_expression: statement1 statement2 statement3 ... ... statementn elif logic_expression: statement1 statement2 ... ... ...

Posted by berbbrown on Fri, 03 Jan 2020 16:59:05 -0800

Rearrangement of singer's information by Vue music (7)

The data returned from QQ music is not what we want, so we need to process res.data.list to facilitate dom operation _getSingerList () { getSingerList().then((res) => { if (res.code === ERR_OK) { this.singer = res.data // The data is not object Type so change to object this.list = this._nom ...

Posted by wrongmove18 on Thu, 02 Jan 2020 21:57:57 -0800

Neural network (NOIP2003)

Megan super electromagnetic gun transmission (Luogu) Megan super electromagnetic gun transmission (vijos) (that's right. It's sister Pao's super electromagnetic gun. Is it full of acid?) Show your wife! Knowledge points graph theory Adjacency matrix, bfs Fool around with Basic thinking Adjacency matrix map b ...

Posted by Festy on Thu, 02 Jan 2020 21:55:51 -0800

shell script exercises

Exercise questions: Write shell script to calculate the sum of 1-100; Write a shell script, ask to input a number, and then calculate the sum from 1 to the input number. If the input number is less than 1, input again until the correct number is input; Write shell script, copy all directories (only one level) under / root / ...

Posted by tilde on Thu, 02 Jan 2020 21:34:21 -0800

[bzoj2194] fast Fourier II FFT

Main idea: Please calculate C[k]=sigma(a[i]*b[i-k]), where k < = I < n, and N < = 10 ^ 5. a. The elements in B are non negative integers less than or equal to 100. Train of thought: It is not difficult to find that the subscript difference of a pair of contributing points in two arrays is a fixed value. A classic ...

Posted by glansing on Thu, 02 Jan 2020 17:30:54 -0800

Gradient descent (GD)

1, An overview of gradient descent algorithm 1, introduction gradient descent, also known as the steepest descent, is the most commonly used method to solve unconstrained optimization problems. It is an iterative method. The main operation of each step is to solve the gradient vector of the objective function, taking the negative gradient direc ...

Posted by proctk on Thu, 02 Jan 2020 12:02:02 -0800

Use function - 3 to use parameters

1, Defining parameters 1. There are two types of function parameters: formal parameter and actual parameter. A formal parameter is a variable declared by a function. It is only visible inside the function. An actual parameter is the parameter value actually passed. //[example 1] the following code defines a simple function. f ...

Posted by healy787 on Thu, 02 Jan 2020 05:20:44 -0800

Joint query of four tables for students' course selection in Oracle database classic cases

4. Joint query of Table 4: student course selection query Question and Description: Students and achievement table students are the main table and achievement is the sub table Curriculum and score table curriculum is the main table and score is the sub table Teacher and curriculum teacher are the main table, curriculum is t ...

Posted by dcinadr on Thu, 02 Jan 2020 03:52:08 -0800