顺序表习题之清楚重复元素_给定一个顺序表,判断其中有几个元素值存在重复。比如顺序表的元素值为1 1 3 2 1 2-CSDN博客

网站介绍:文章浏览阅读3.9k次。Title DescriptionIn the table with length N, n < 1000, there are some duplicate elements. We need to clear these duplicate elementsinputEnter the length of the table in the first row n:The second line successively outputs the stored N element va_给定一个顺序表,判断其中有几个元素值存在重复。比如顺序表的元素值为1 1 3 2 1 2