結果

問題 No.3155 Same Birthday
ユーザー detteiuu
提出日時 2025-05-23 19:01:26
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 317 ms / 2,000 ms
コード長 156 bytes
コンパイル時間 305 ms
コンパイル使用メモリ 81,904 KB
実行使用メモリ 127,660 KB
最終ジャッジ日時 2025-05-23 19:01:52
合計ジャッジ時間 11,420 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 49
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
AB = [list(map(int, input().split())) for _ in range(N)]

S = set()
for A, B in AB:
    S.add((A, B))

print("Yes" if len(S) < N else "No")
0