PS

[백준/Python] (S3) Hot Air Ballooning - 13915

MSHUN 2024. 3. 7.
반응형

Baekjoon Online Judge의 13915 Hot Air Ballooning 문제의 Python풀이입니다.

 

13915번: Hot Air Ballooning

Dave is the director of the Summer school of hot air ballooning. Being a responsible director, he keeps a list of flights of each trainee in the school. After each flight, Dave appends a note to the lists of flights of each trainee participating in that pa

www.acmicpc.net

💻코드

while 1:
 try:print(len(set([frozenset(input())for _ in' '*int(input())])))
 except EOFError:break

🧠풀이

중복 제거 중복 제거...

🤔느낀 점

문제 이해를 잘못해 여러번 틀렸다...

Baekjoon Online Judge

반응형

댓글