set
shishiness
这个作者很懒,什么都没留下…
展开
-
pat 甲级 set A1063 Set Similarity (25分)
1063 Set Similarity (25分) Given two sets of integers, the similarity of the sets is defined to be Nc/Nt×100%, where Nc is the number of distinct common numbers shared by the two sets, and Nt is the total number of distinct numbers in the two s原创 2020-08-20 15:56:22 · 48 阅读 · 0 评论 -
pat 甲级 map set A1022 Digital Library (30分)
1022 Digital Library (30分) A Digital Library contains millions of books, stored according to their titles, authors, key words of their abstracts, publishers, and published years. Each book is assigned an unique 7-digit number as its ID. Given any query fr原创 2020-07-24 16:02:54 · 56 阅读 · 0 评论