結果
| 問題 | No.3155 Same Birthday |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-05-27 02:10:20 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 274 ms / 2,000 ms |
| + 751µs | |
| コード長 | 206 bytes |
| 記録 | |
| コンパイル時間 | 223 ms |
| コンパイル使用メモリ | 95,720 KB |
| 実行使用メモリ | 131,064 KB |
| 最終ジャッジ日時 | 2026-07-11 02:13:41 |
| 合計ジャッジ時間 | 10,598 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 49 |
ソースコード
from collections import Counter
n = int(input())
s = []
for _ in range(n):
s.append(input())
c = Counter(s)
for k, v in c.items():
if v != 1:
print("Yes")
break
else:
print("No")