Logo
(追記) (追記ここまで)

23544번 - Kinder Surprise 다국어

시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 (추가 시간 없음) 64 MB17815314288.750%

문제

"Kinder Surprise" is an egg made of chocolate with a toy or a souvenir inside. You never know what's inside this time!

Recently little Pasha discovered that each egg from the new series of "Kinder Surprise" contains a hippo statuette. There are $n$ hippo statuettes in total, and Pasha wants to collect them all.

Without thinking twice, Pasha bought $n$ "Kinder Surprise" eggs from the new series. And then Pasha was completely disappointed by an unexpected thing: some of the hippo statuettes turned out to be identical. That was the real surprise!

After some grief, Pasha decided to find the number of hippo statuettes he has yet to collect. Help him solve this problem.

입력

The first line contains integer $n$ (2ドル \le n \le 100$).

The following $n$ lines describe hippo statuettes, one per line. Description of the $i$-th hippo statuette is a string of length between 1ドル$ and 20ドル$ symbols that contains small latin letters and underscores. Two hippo statuettes are identical if and only if their descriptions are equal.

It is guaranteed that at least two hippo statuettes are identical.

출력

Output one integer --- the number of hippo statuettes that Pasha has yet to collect.

제한

예제 입력 1

10
hippo_in_tank
lazy_hippo
hippo_vampire
bizarre_hippo
hippo_in_tank
hippo_ninja
hippie_hippo
lazy_hippo
hippo_in_tank
hip_hop_hippo

예제 출력 1

3

힌트

출처

Contest > Open Cup > 2018/2019 Season > Stage 20: Grand Prix of Ural K번

(追記) (追記ここまで)

출처

대학교 대회

  • 사업자 등록 번호: 541-88-00682
  • 대표자명: 최백준
  • 주소: 서울시 서초구 서초대로74길 29 서초파라곤 412호
  • 전화번호: 02-521-0487 (이메일로 연락 주세요)
  • 이메일: contacts@startlink.io
  • 통신판매신고번호: 제 2017-서울서초-2193 호

AltStyle によって変換されたページ (->オリジナル) /