Tag：Even numbers

Time：2021411
Sub database and sub table Why do we have to divide the database and table? The amount of data in the database is uncontrollable. With the development of time and business, there are more and more data in the table. If you curd the database table again, it will cause performance problems. In order to […]

Time：2021322
Modification record: 2021.2.6 The format of the problem is unified 2021.2.3 At the end of the article, we add the recursive review link of big brother Ah, what is recursion? Namely: fromKnownreachunknown。Using observation to find the previous known data, we can get the conclusionRecurrence formulaAnd then the recursive formula is used to solve the problem. […]

Time：2021220
Title:An integer, after adding 100, is a complete square number, and then 168 is a complete square number. What is the number? Program analysis: Suppose the number is X. 1. Then: x + 100 = N2, x + 100 + 168 = m2 2. Calculation equation: M2 – N2 = (M + n) (M – […]

Time：202113
When writing a toast component, the text on the component will become blurred. It is found that the toast uses thetransform: translate(50%, 50%); ↑It’s the same ↑What it looks like after using translate In the process of reproduction, it is found that there is no blurring problem in Firefox, but there will be blurring problems […]

Time：20201223
summary In word documents, when we want to force pagination at a certain position, we can insert page break to achieve this. At this time, the content after the page break will automatically jump to the next page. Insert a section break to create a new section to set different text line numbers, column numbers, […]

Time：20201216
1025. Divisor game Source: leetcode https://leetcodecn.com/problems/divisorgame subject Alice and Bob play games together. They take turns. Alice started first. At first, there was a number n on the blackboard. In each player’s turn, players need to do the following: Choose any onex, satisfy0 < x < NAndN % x == 0 。 useN – xReplace […]

Time：20201213
//Entry function $(document).ready(function() { //Even digit var jqLi = $(“ul li:odd”); jqLi.css(“margin”, 5); jqLi.css(“backgroundcolor”, “red”); //Odd digit jqLi = $(“ul li:even”); jqLi.css(“backgroundcolor”, “yellow”); //Specifies the index value element jqLi = $(“ul li:eq(0)”); jqLi.css(“backgroundcolor”, “green”); }); Beijing Shanghai Guangzhou Roasted Duck Beer selfhelp

Time：20201210
Pythagorean array theorem Pythagorean array theorem: each primitive Pythagorean array (a, B, c) (where a is odd and B is even) can be obtained from the following formula: a = st\\ b = \frac{s^2t^2}{2}\\ c = \frac{s^2 + t^2}{2} amongs>t\geq 1Is any odd number that has no common factor.The proof process is as follows:Considering the […]

Time：2020127
1. Output the number between 1 and 10000 for(i=1;i<=10000;i++) { document.write(i + ““) } 2. Find the sum of all even numbers between 1 and 100 3. Find the sum of all odd numbers between 1 and 100 4. Find the number within […]

Time：20201130
Pythagoras theorem (Pythagorean theorem) indicates that the sum of the squares of the lengths of the two right angles of any right triangle is equal to the square of the length of the hypotenuse. It is expressed by formula a^2 + b^2 = c^2 The first question is whether there are infinitely many Pythagorean arrays […]

Time：20201116
Function: intercept any part of the list. Slicing applies to lists, tuples, strings, range objects, and so on.. Format::] slicing is done with three numbers separated by two colons. The first number indicates the slice start position (the default is 0). The second number indicates the slice to (but not included) position (default is list […]

Time：2020113
Num = int (input (“please enter an integer”)) if num%2 == 0: Print (“this number is even”, Num) else: Print (“this number is odd”, Num)