結果

問題 No.2707 Bag of Words Encryption
ユーザー navel_tos
提出日時 2024-03-31 16:19:50
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 51 ms / 2,000 ms
コード長 172 bytes
コンパイル時間 241 ms
コンパイル使用メモリ 82,264 KB
実行使用メモリ 63,232 KB
最終ジャッジ日時 2024-09-30 21:04:41
合計ジャッジ時間 1,845 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

#MMA Contest 018 B

N = int(input())
S = [ord(s) - ord('A') for s in input()]
T = [0] * 26
for s in S: T[s] += 1
for i in range(26):
    T[i] = str(T[i])
print(''.join(T))
0