+ 1

Array 2

can someone pls help me with the code? I will upload the code shortly. pls help. thanks a lot. Find the number of distinct numbers in a given sequence. The sequence need not be sorted. Input The input consists of two lines. The first line consists of a positive number N N is at most 1000 The second line consists of N numbers separated by spaces. Output The output should be the number of distinct elements in the sequence Sample Input 4 1231 Sample Output 3 https://code.sololearn.com/cJkn2dEXDk1m/?ref=app

26th Sep 2018, 4:22 PM
Nilutpol Kashyap
Nilutpol Kashyap - avatar
1 Antwort
0
John Wells sir can you please help me with the code?
26th Sep 2018, 6:01 PM
Nilutpol Kashyap
Nilutpol Kashyap - avatar