You are viewing a single comment's thread. Return to all comments →
from collections import Counter
k = int(input())
room_list = list(map(int , input().split()))
room_count = Counter(room_list)
for room_list , room_members in room_count.items():
if room_members == 1: print(room_list)
Seems like cookies are disabled on this browser, please enable them to open this website
The Captain's Room
You are viewing a single comment's thread. Return to all comments →
from collections import Counter
k = int(input())
room_list = list(map(int , input().split()))
room_count = Counter(room_list)
for room_list , room_members in room_count.items():