結果
| 問題 | No.3155 Same Birthday |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-05-23 20:53:31 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 236 ms / 2,000 ms |
| コード長 | 195 bytes |
| 記録 | |
| コンパイル時間 | 367 ms |
| コンパイル使用メモリ | 82,160 KB |
| 実行使用メモリ | 96,808 KB |
| 最終ジャッジ日時 | 2025-05-23 20:53:40 |
| 合計ジャッジ時間 | 8,273 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 49 |
ソースコード
N = int(input())
S = set()
for _ in range(N):
a, b = map(int, input().split())
if (a, b) in S:
print("Yes")
exit()
else:
S.add((a, b))
print("No")