#include<stdio.h> int main() { int c; printf(“请输入数据个数:”); scanf("%d",&c); int A[c],B[10],time[10],k=0,i,j;//A为存输入数据数组,B为存储不同数数组,time存次数;*** for(int e=0;e<c;e++) scanf("%d",&A[e]);//手动输入一组数据* for(i=0;i
源程序 using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApp4{class Program{static void Main(string[] args){int[] a = n