6.2 PAT A1063 Set Similarity (25分)(set用法)(自动有序并去重)
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 N...
原创
2020-04-10 15:31:39 ·
131 阅读 ·
0 评论