Coding is the closest thing we have to a surperpower
给定一个长度为 n 的数组 a,请你编写一个函数:
int get_unique_count(int a[], int n); // 返回数组前n个数中的不同数的个数
第一行包含一个正整数 n。
第二行包含 n 个正整数,表示数组 a。
数据范围 1≤n≤1000,1≤数组中的数字<=1000000。
共一行,包含一个整数表示数组中不同数的个数。
5 3 3 2 4 5
4