結果
| 問題 | No.3155 Same Birthday |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-05-23 19:01:06 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 232 ms / 2,000 ms |
| コード長 | 166 bytes |
| 記録 | |
| コンパイル時間 | 225 ms |
| コンパイル使用メモリ | 95,984 KB |
| 実行使用メモリ | 104,028 KB |
| 最終ジャッジ日時 | 2026-07-10 23:01:06 |
| 合計ジャッジ時間 | 9,361 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 49 |
ソースコード
N = int(input())
s = set()
for i in range(N):
a,b = map(int, input().split())
if (a,b) in s:
print("Yes")
exit()
s.add((a,b))
print("No")