connected component 썸네일형 리스트형 Ubiquitous Religions http://acm.pku.edu.cn/JudgeOnline/problem?id=2524 Description There are so many different religions in the world today that it is difficult to keep track of them all. You are interested in finding out how many different religions students in your university believe in. You know that there are n students in your university (0 < n 더보기 이전 1 다음