結果
| 問題 | No.3155 Same Birthday | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2025-05-23 19:03:12 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                TLE
                                 
                             | 
| 実行時間 | - | 
| コード長 | 337 bytes | 
| コンパイル時間 | 173 ms | 
| コンパイル使用メモリ | 82,116 KB | 
| 実行使用メモリ | 76,768 KB | 
| 最終ジャッジ日時 | 2025-05-23 19:03:53 | 
| 合計ジャッジ時間 | 4,982 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | -- * 2 | 
| other | AC * 1 TLE * 1 -- * 47 | 
ソースコード
N = int(input())
birthday = []
for i in range(N):
    A, B = map(int, input().split())
    birthday.append((A,B))
status = False
for i in range(N):
    for j in range(i+1, N):
        if birthday[i] == birthday[j]:
            # print(i,j)
            status = True
            break
if status:
    print("Yes")
else:
    print("No")
            
            
            
        