結果

問題 No.3286 Make a Happy Connection
ユーザー ルク
提出日時 2025-10-03 21:27:33
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 171 bytes
コンパイル時間 173 ms
コンパイル使用メモリ 82,652 KB
実行使用メモリ 55,620 KB
最終ジャッジ日時 2025-10-03 21:27:36
合計ジャッジ時間 2,301 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 21 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter

n = int(input())
a = list(map(int, input().split()))
c = Counter(a)
for x in c:
    if c[x] >= 2:
        exit(print("Yes"))

print("No")
0