結果

問題 No.3155 Same Birthday
ユーザー YU Hirose
提出日時 2025-05-27 02:10:20
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 263 ms / 2,000 ms
コード長 206 bytes
コンパイル時間 415 ms
コンパイル使用メモリ 82,648 KB
実行使用メモリ 133,004 KB
最終ジャッジ日時 2025-05-27 02:10:34
合計ジャッジ時間 11,741 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 49
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter
n = int(input())
s = []
for _ in range(n):
    s.append(input())
c = Counter(s)
for k, v in c.items():
    if v != 1:
        print("Yes")
        break
else:
    print("No")
0