C + + language learning summary and experience

        About the language part of C + + (Information Science Orsay one pass), I myself summarized some knowledge.         Because it is too basic, I won't talk about the introduction and use of the first part of the source code.         I'll start with the second chapter, sequent ...

Posted by Onloac on Tue, 21 Sep 2021 14:18:01 -0700

Codeforces Round #743 (Div. 2) (A~C)

Competition link: Click here to transfer Link to official solution: Click here to transfer 1573A Countdown topic link: Click here to transfer Meaning: There is a sequence, you have to change it all into 0. You can perform the following two operations to exchange elements in two positions, which is the last element minus one. Find the minim ...

Posted by fr0mat on Tue, 21 Sep 2021 03:38:55 -0700

Codeforces Round #741 (Div. 2) (A~D2)

Competition link: Click here to transfer Link to official solution: Click here to transfer 1562A The Miracle and the Sleeper topic link: Click here to transfer Meaning: Given a range [ l , r ] ...

Posted by Daddy on Mon, 20 Sep 2021 05:48:00 -0700

Leetcode: 68. Align text left and right

subject Source: LeetCode Link: https://leetcode-cn.com/problems/text-justification Given an array of words and a length maxWidth, rearrange the words into text with exactly maxWidth characters per line and aligned left and right ends. You should use "greedy algorithm" to place a given word; That is, put as many words in each line as ...

Posted by ozzythaman on Fri, 10 Sep 2021 01:02:00 -0700