题解 | #明明的随机数#
https://www.nowcoder.com/practice/3245215fffb84b7b81285493eae92ff0
let num = readline()
const obj = {}
while(num > 0){
let i = readline()
if(obj[i]){
obj[i] += 1
}else{
obj[i] = 1
}
num--
}
const arr = Object.keys(obj)
arr.forEach(item => {
console.log(item)
})
const obj = {}
while(num > 0){
let i = readline()
if(obj[i]){
obj[i] += 1
}else{
obj[i] = 1
}
num--
}
const arr = Object.keys(obj)
arr.forEach(item => {
console.log(item)
})