• Do you know the relationship between central bank digital currency and mobile payment?


    When it comes to digital currency, China’s central bank began to study it as early as 2014. Compared with Libra launched by Facebook in the United States, the digital currency of the central bank (DCEP) has entered the public vision for a long time. With the progress of science and technology, money payment has gradually […]

  • [leetcode] 66. Plus one


    Given a nonnegative integer represented by a nonempty array of integers, add one to the number. The highest number is placed at the top of the array, and each element of the array only stores a single number. You can assume that except for the integer 0, this integer does not start with zero. Example […]

  • Vue (3) — loop statement


    v-for: The V-for instruction requiressite in sitesSite is the source data array and site is the alias of array element iteration.   demo1. name hp {{hero.name}} {{hero.hp}} <span style=”background-color: #f5f5f5; color: #0000ff;”>var</span><span style=”background-color: #f5f5f5; color: #000000;”> data </span><span style=”background-color: #f5f5f5; color: #000000;”>=</span><span style=”background-color: #f5f5f5; color: #000000;”> [ {name:</span><span style=”background-color: #f5f5f5; color: #000000;”>”</span><span style=”background-color: #f5f5f5; color: […]

  • Beautify the interface of C ා WinForm — use IrisSkin to realize the skin changing function


    The WinForm interface uses iris skin, which can be said to achieve one click beautification. Of course, the beautification effect is different from each other, and you can choose what you like. 1. IrisSkin download address: https://www.cr173.com/soft/69061.html 2. Put the downloaded file under debug. 3. Create a new WinForm named main: 4. The main code […]

  • [leetcode] 67. Binary sum


    Given two binary strings, return their sum (in binary). The input is a non empty string and contains only the numbers 1 and 0. Example 1: Input: a = 11, B = 1Output: “100”Example 2: Input: a = 1010, B = 1011Output: “10101” public String addBinary(String a, String b) { StringBuilder builder=new StringBuilder(); int i1=a.length()-1; int i2=b.length()-1; int cur=0; while(i1>=0 || i2>=0 || cur>0 ){ if(i1>=0) cur+=(a.charAt(i1–)-‘0’); if(i2>=0) cur+=(b.charAt(i2–)-‘0′); builder.append((char)(cur%2+’0’)); cur = cur/2; } return builder.reverse().toString(); […]

  • The use of Oracle TRUNC function


    1. Operation on date 2. Operation of numbers 1. Action on date /**************Date********************/ Select TRUNC (sysdate) from dual; — November 29, 2019 today’s date is November 29, 2019 Select TRUNC (sysdate, ‘mm’) from dual; — return to the first day of the month on November 1, 2019 Select TRUNC (sysdate, ‘YY’) from dual; — return […]

  • Partition 20191017


    1. Disk storage There are two main types of disk partitions: The maximum partition of MBR is no more than 2T, and a hard disk can have at most 4 primary partitions, or 3 (primary) + 1 (N logical partitions under expansion); GPT supports 128 partitions, all of which are primary partitions; 2. To create […]

  • In depth understanding of the use of BigDecimal


    What is BigDecimal BigDecimalIt can represent a floating-point number of any size with full accuracy. Why use BigDecimal instead of double Talk is cheap, Show me the Code. Example 1: double d1 = 0.3; double d2 = 0.2; System.out.println(“Double:\t 0,3 – 0,2 = ” + (d1 – d2)); float f1 = 0.3f; float f2 = […]

  • Leetcode week match for babies to understand – 168-1


    1295. Even numbers Hi, everyone. I’m a pig. Welcome to the “baby can understand” series of leetcode weekly question solution. This is the first question in the 168th issue, and also the 1295th question in the list of questions – “even number of statistics digits” Title Description Give you an array of integersnums, please return […]

  • Leetcode week contest for babies to understand – 168 – 2


    1296. Dividing an array into sets of consecutive numbers Hi, everyone. I’m a pig. Welcome to the “baby can understand” series of leetcode weekly question solution. This is the second question in the 168th issue, and also the 1296th question in the list of questions – “dividing an array into a set of consecutive numbers” […]

  • Summary of iView using special points


    Summarize some special points in the use of iView, which will be updated continuously in the future Table exporting CSV nested objects handleStr(str){ let handleStr=str.replace(/[\r\n]/g,””); //First, judge whether there is comma in the character if(str.indexOf(“,”) != -1){ //If there is double quotation mark, escape the double quotation mark first to avoid the error of escaping […]

  • The first day of JS notes


    Javascript: JS for short The original name of JS is not JavaScript, but livescript JS is divided into three parts 1. Basic syntax of ECMAScript standard → JS 2. DOM — Document Object Model 3. DOM — browser object model   What is JavaScript? It’s a scripting language: no compilation (translation) required, run directly It’s […]