![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
实验
文章平均质量分 64
Allto
这个作者很懒,什么都没留下…
展开
-
【算法实验 Lab-report-unit-3-01】
文章目录问题描述思路代码问题描述(1) Largest Number. Given a list of non negative integers, arrange them such that they form the largest number.For example, given [3, 30, 34, 5, 9], the largest formed number is 9534330.Note: The result may be very large, so you need t原创 2022-05-10 12:52:44 · 111 阅读 · 0 评论 -
【算法实验 Lab-report-unit-1-03】
Let { A1,A2,…,An } be a permutation of the set{ 1,2,…, n}. If i < j and Ai > Aj then the pair (Ai,Aj) is called an “inversion” of the permutation. For example, the permutation {3, 1, 4, 2} has three inversions: (3,1), (3,2) and (4,2). The inversion t原创 2022-05-08 18:12:09 · 491 阅读 · 0 评论