Description異なる要素n 個の整数が入った配列が与えられたとき、その配列に含まれる異なる要素の数を求める問題です。入力最初の行には、整数 n (1 ≤ n ≤ ) が与えられます。次の行には、n 個の整数 ( ≤ ≤ ) がスペース区切りで与えられます。出力与えられた配列に含まれる異なる要素の数を出力してください。例InputOutput55 5 3 2 33説明この例では、2、3、5 の 3 つが異なる要素として数えられます。ConstraintsTime limit: 1.6 secondsMemory limit: 512 MBOutput limit: 1 MBTo check your solution you need to sign inSign in to continueSign in to your accountSign in with GoogleSign in with FacebookSign in with MicrosoftSign in with emailBy continuing, you agree to our Terms of Service and Privacy Policy.