Explore char, string in C#

Catalog Explore char, string in C#1 1. System.Char characters 2. Character handling 3. Globalization 4. System.String string 4.1 String Search 4.2 String extraction, insertion, deletion, replacement 5. String resident pool Explore char, string in C#1 1. ...

Posted on Sun, 01 Dec 2019 13:26:50 -0500 by strudo

20190105 print letters C,H,N, mouth and other images

1. Print letter C ****** * * * * ****** def print_c(n): print('*' * n) for i in range(n): print('* ') print('*' * n) print_c(20) 2. Print letter N *        **  *     **   *    **    *   **        * Algorithm: N subtracts the * of the last line from the white triangle in the lower left corner, and prints a * after e ...

Posted on Sun, 01 Dec 2019 09:58:24 -0500 by sammon96

Summary of JavaScript basic video tutorial (Chapter 071-080)

<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>070-080 Chapter summary</title> </head> <body> <pre> 071. array literal </pre> <script type="text/javascript"> console.log("071"); //Create an array var arr = new Array(); //Use lite ...

Posted on Sun, 01 Dec 2019 09:54:38 -0500 by mistercash60000

Chapter 3.2 of python machine learning and Practice

NLTK: linguistic analysis, word segmentation and part of speech tagging #Vectorization of text by word bag method sent1='The cat is walking in the bedroom.' sent2='A dog was running across the kitchen.' from sklearn.feature_extraction.text import CountVectorizer count_vec=CountVectorizer() sentences=[sent1,sent2] print count_ ...

Posted on Sun, 01 Dec 2019 08:34:00 -0500 by vb_123

Java data structure - HashMap

Java data structure - HashMap 1. HashMap data structure When there is no hash conflict, it is an array and supports dynamic expansion In case of hash conflict, there are two situations: 1. When the conflict length is less than 8 or the array length is less than 64 (min ﹣ priority ﹣ default value is 64), it is array + linked list (Node) ...

Posted on Sun, 01 Dec 2019 08:31:55 -0500 by Tracekill

JavaScript closed functions, common built-in objects, js debugging methods

1. Closed function Closed function is another way to write anonymous function in JavaScript. It creates a function that is executed at the beginning without naming /Add ';' before the closed function to avoid errors in js compression/;(function(){ alert('hello world!'); })(); /*Equal to 78 when i is greater than 78, equal to 89 When i is ...

Posted on Sun, 01 Dec 2019 06:53:59 -0500 by daniel_lee_hill

File, FileReader, Blob, Fromdata object

File The File interface provides information about the File and allows JavaScript in the web page to access its content. The File object can be used to obtain the information of a File and read the contents of the File. In general, the File object is the FileList object returned after the user selects a File on a < input > element, or the ...

Posted on Sun, 01 Dec 2019 00:32:50 -0500 by DarkWater

POJ 3080 Blue Jeans KMP algorithm + violence matching

Title: Given n groups of test data, each group of test data has m strings. Find out the longest common string in these strings. If there are multiple groups of the same length, the output dictionary order is the smallest. If the length of the common string is less than 3, output no significant Communications Explanation: For ...

Posted on Sat, 30 Nov 2019 22:48:47 -0500 by nickmanners

1002 write this number

Read in a positive integer n, calculate the sum of its digits, and write each digit of the sum in Chinese pinyin. Input format: Each test input contains one test case, that is, it gives the value of natural number n. It is guaranteed that n is less than 1. Output format: For each digit of the sum of the digits output in a line, there is a space ...

Posted on Sat, 30 Nov 2019 21:56:18 -0500 by pagod

There are three ways to create accounts through EOS source code analysis.

The first method is to create the system account eosio. Directly call the create native account method to create. And set the resource to infinite. void create_native_account( account_name name, const authority& owner, const authority& active, bool is_privileged = false ) { //create account directly creates an account without any ...

Posted on Sat, 30 Nov 2019 21:25:14 -0500 by sasito