JSRUN 用代码说话
我是大神
movi
第55274位JSRUN用户

活跃于 2022-11-03 02:47 访问量:7049
关注


***Sales by Match (merchantSocks) - Array*** ///Function Description Complete the sockMerchant function in the editor below. sockMerchant has the following parameter(s): int n: the number of socks in the pile int ar[n]: the colors of each sock ///Sample Input STDIN Function ----- -------- 9 n = 9 10 20 20 10 10 30 50 10 20 ar = [10, 20, 20, 10, 10, 30, 50, 10, 20] Sample Output 3


上一页 2/2
没有了