結果

問題 No.3155 Same Birthday
ユーザー moon17
提出日時 2025-05-23 22:39:39
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 752 ms / 2,000 ms
コード長 151 bytes
コンパイル時間 345 ms
コンパイル使用メモリ 82,500 KB
実行使用メモリ 108,548 KB
最終ジャッジ日時 2025-05-23 22:40:03
合計ジャッジ時間 22,988 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 49
権限があれば一括ダウンロードができます

ソースコード

diff #

(n,),*e=[[*map(int,s.split())]for s in open(0)]
e.sort()
for (a1,b1),(a2,b2)in zip(e,e[1:]):
  if a1==a2 and b1==b2:
    exit(print('Yes'))
print('No')
0