結果

問題 No.2707 Bag of Words Encryption
ユーザー lloyz
提出日時 2024-05-06 01:19:08
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 47 ms / 2,000 ms
コード長 137 bytes
コンパイル時間 544 ms
コンパイル使用メモリ 82,688 KB
実行使用メモリ 58,368 KB
最終ジャッジ日時 2024-11-28 03:11:30
合計ジャッジ時間 2,457 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
s = input()

C = [0 for _ in range(26)]
for i in range(n):
    C[ord(s[i]) - ord('A')] += 1
print(''.join(map(str, C)))
0