阅读背景:

集合中最常见的值[暂停]

来源:互联网 

I have to find the most frequent value in a set(numbers from 1-100) and I did that but I don't know how to make the most frequent value be returned just 1 time. Example: Input 6 12 13 12 13 5 4 The program returns 12 13 12 13 How could I make it return just 12 13? This is my code:I have to find the most frequent value in a set




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: