結果
| 問題 | No.2778 Is there Same letter? |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-06-07 21:40:27 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 27 ms / 2,000 ms |
| + 191µs | |
| コード長 | 146 bytes |
| 記録 | |
| コンパイル時間 | 64 ms |
| コンパイル使用メモリ | 82,136 KB |
| 実行使用メモリ | 57,860 KB |
| 最終ジャッジ日時 | 2026-10-08 05:15:40 |
| 合計ジャッジ時間 | 1,702 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 |
ソースコード
N = int(input())
S = input()
from collections import Counter
c = Counter(S).most_common()
if c[0][1] >= 2:
print("Yes")
else:
print("No")