結果
| 問題 | No.3155 Same Birthday | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2025-05-11 11:53:47 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 292 ms / 2,000 ms | 
| コード長 | 155 bytes | 
| コンパイル時間 | 355 ms | 
| コンパイル使用メモリ | 82,488 KB | 
| 実行使用メモリ | 118,620 KB | 
| 最終ジャッジ日時 | 2025-05-13 17:52:47 | 
| 合計ジャッジ時間 | 9,457 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 49 | 
ソースコード
n = int(input())
s = set()
for _ in range(n):
	ab = tuple(map(int, input().split()))
	if ab in s:
		print('Yes')
		exit()
	else:
		s.add(ab)
print('No')
            
            
            
        