結果

問題 No.3155 Same Birthday
ユーザー hato336
提出日時 2025-05-23 20:35:39
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 233 ms / 2,000 ms
コード長 260 bytes
コンパイル時間 288 ms
コンパイル使用メモリ 82,000 KB
実行使用メモリ 107,740 KB
最終ジャッジ日時 2025-05-23 20:35:52
合計ジャッジ時間 11,294 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 49
権限があれば一括ダウンロードができます

ソースコード

diff #

import collections,sys,math,functools,operator,itertools,bisect,heapq,decimal,string,time,random
input = sys.stdin.readline

n = int(input())
s = set()
for i in range(n):
    a,b = map(int,input().split())
    s.add((a,b))
print('Yes' if len(s) != n else 'No')
0