結果
| 問題 | No.2707 Bag of Words Encryption | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2024-04-27 19:39:48 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 64 ms / 2,000 ms | 
| コード長 | 150 bytes | 
| コンパイル時間 | 156 ms | 
| コンパイル使用メモリ | 12,416 KB | 
| 実行使用メモリ | 11,008 KB | 
| 最終ジャッジ日時 | 2024-11-16 00:42:56 | 
| 合計ジャッジ時間 | 2,259 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 15 | 
ソースコード
n=int(input())
s=input()
alp=[0]*26
a="ABCDEFGHIJKLMNOPQRSTUVWXYZ"
for i in s:
    alp[a.index(i)]+=1
ans=""
for i in alp:
    ans+=str(i)
print(ans)
            
            
            
        