clear repeat integer


Submit solution

Points: 50 (partial)
Time limit: 1.0s
Memory limit: 256M

Authors:
Problem types
Allowed languages
Java 19, Java 8

題目說明

給定一陣列,並輸出清除重複值的陣列。

輸入

整數(陣列大小),陣列內的值

輸出

清除重覆值的陣列

sample input1

3 1 1 2

sample output1

1 2

sample input2

5 1 2 3 4 5

sample output2

1 2 3 4 5

Comments

There are no comments at the moment.