結果
| 問題 |
No.3155 Same Birthday
|
| コンテスト | |
| ユーザー |
回転
|
| 提出日時 | 2025-05-23 20:24:47 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 299 ms / 2,000 ms |
| コード長 | 180 bytes |
| コンパイル時間 | 339 ms |
| コンパイル使用メモリ | 82,840 KB |
| 実行使用メモリ | 104,844 KB |
| 最終ジャッジ日時 | 2025-05-23 20:24:59 |
| 合計ジャッジ時間 | 9,089 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 49 |
ソースコード
N = int(input())
memo = set()
for i in range(N):
a,b = list(map(int,input().split()))
if((a,b) in memo):
print("Yes")
exit()
memo.add((a,b))
print("No")
回転