結果
| 問題 | No.290 1010 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-09-01 00:25:46 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 199 bytes |
| コンパイル時間 | 180 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 78,080 KB |
| 最終ジャッジ日時 | 2024-11-17 03:00:04 |
| 合計ジャッジ時間 | 2,566 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 WA * 2 |
ソースコード
N = int(input())
from collections import defaultdict
X = defaultdict(int)
for i in input():
X[i] += 1
if max(X.values()) == 1:
print('NO')
else:
print('YES')