Tag:Section

  • The array and slicing of go language are introduced in detail

    Time:2022-5-2

    catalogue 1、 Array 1. Definition of array 2. Array assignment 3. Define and initialize 4. The size of the array is part of the type 5. Array is a value type 6. Array length len() the array length has been fixed in the definition stage 7. Array loop 8. Multidimensional array 9. Array definition and […]

  • dichotomy

    Time:2022-5-2

    Dichotomy Dichotomy as the name suggestsIn fact, I keep dividing things into two partsDichotomy has existed since ancient times The hammer of one foot is half taken by the day, and it will never be exhausted for all ages Dichotomy also has applications in mathematics, such as the existence theorem of zeros \(let y = […]

  • Best cattle fence and search section

    Time:2022-5-1

    Because the two questions are similar, they are combined into one question solution ———– inscription Best cattle fence Idea: Dichotomous answerThe answer is the average How to check whether the answer meets the meaning of the question,Judge whether an interval satisfying the meaning of the question is > = this average valueGenerally, you can subtract […]

  • Mo learning notes team

    Time:2022-4-27

    For reprint, please bring this blog address:https://www.cnblogs.com/continue126/p/14450059.htmlAnd indicate the original author: @ blog Park: continue_ 1025, creation is not easy, please understand. Ordinary Mo team Introduce a small example \(zl\)My sister has a string of numbers. Because students are too bald, now he wants to ask you\(m(m≤1e5)\)Times, of which\(L\)reach\(R\)Number of interval occurrences\(3\)How many times and […]

  • Springboot + ffmpeg implements a simple m3u8 slice transcoding system

    Time:2022-4-26

    The famous ffmpeg is used to slice the video file into m3u8, and online on-demand can be realized through springboot. idea The client uploads the video to the server. After slicing the video, the server returns m3u8, cover and other access paths. It can be played online.The server can do some simple processing for the […]

  • Map based on UE4 / unity – determine the display area

    Time:2022-4-26

    preface Drawing map basic element line based on UE4 / unity Drawing map basic elements face and volume based on ue4/unity Basic knowledge After studying how to draw the line and surface of the map, it is necessary to determine the map area to be displayed. The map can be regarded as a huge open […]

  • Mo team learning notes

    Time:2022-4-26

    For reprint, please bring this blog address:https://www.cnblogs.com/continue126/p/14450059.htmlAnd indicate the original author: @ blog Park: continue_ 1025, creation is not easy, please understand. Ordinary Mo team Introduce a small example \(zl\)My sister has a string of numbers. Because students are too bald, now he wants to ask you\(m(m≤1e5)\)Times, of which\(L\)reach\(R\)Number of interval occurrences\(3\)How many times and […]

  • Python — pandas slice

    Time:2022-4-25

    The slicing operation of pandas is the basic operation of data frame in Python, which is used to select a subset of data frame. environment python3.9 win10 64bit pandas==1.2.1 Prepare data import pandas as pd player_list = [[1,’M.S.Dhoni’, 36, 75, 5428000], [2,’A.B.D Villers’, 38, 74, 3428000], [3,’V.Kholi’, 31, 70, 8428000], [4,’S.Smith’, 34, 80, 4428000], [5,’C.Gayle’, […]

  • Sparkcore core attributes of Spark Learning Records

    Time:2022-4-24

    Sparkcore preliminary of spark learning record concept Spark is a fast, universal and scalable big data analysis and calculation engine based on memory. The modules include spark core, spark SQL, spark streaming, spark mlib and spark graphx Spark submit example Standalone bin/spark-submit \ –class org.apache.spark.examples.SparkPi \ –master spark://spark111:7077 \ ./examples/jars/spark-examples_2.12-3.0.0.jar \ 1000 Yarn bin/spark-submit \ […]

  • [yibentong 1751] solution to string sorting problem

    Time:2022-4-21

    Title Description Given a string of lowercase letters\(S\)。 have\(m\)Operations, 3 parameters are given for each operation\(l\),\(r\),\(x\)。 If\(x=1\), will\(Sl∼Sr\)Sort in ascending order; If\(x=0\), will\(Sl∼Sr\)Sort in descending order. You need to find the final sequence. input Two integers in the first line\(n\),\(m\)。 The second line is a string\(S\)。 next\(m\)Three integers per line\(x\),\(l\),\(r\)。 output One string per line […]

  • Clustering Heatmap — pheatmap and complex Heatmap

    Time:2022-4-10

    reference resources Pheatmap package >CRAN – Package pheatmap (r-project.org)Complexheatmap package >Bioconductor – ComplexHeatmapComplexheatmap official document >ComplexHeatmap Complete Reference (jokergoo.github.io)Complexheatmap original literature >10.1093/bioinformatics/btw313 Complexheatmap actual combat The parameter introduction is very rich, but the specific details may need to be done with a few more pictures to slowly understand!The matrix used for download and practice is […]

  • Why don’t Python slices index out of bounds?

    Time:2022-4-9

    Slice is a characteristic feature of Python. Before we start, let’s review the knowledge of slice. Slice is mainly used in sequence objects to intercept the contents of an index according to the index interval. Writing form of slice: [I: I + N: M]; Where, I is the starting index value of the slice, which […]