結果

問題 No.2707 Bag of Words Encryption
ユーザー graph11463graph11463
提出日時 2024-03-31 13:39:46
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 51 ms / 2,000 ms
コード長 422 bytes
コンパイル時間 221 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 65,024 KB
最終ジャッジ日時 2024-09-30 18:12:00
合計ジャッジ時間 1,583 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

'''input'''
i1=lambda:int(s1())
i2=lambda:map(int,s2())
il=lambda:list(i2())
s1=lambda:input()
s2=lambda:s1().split()
sl=lambda:list(s2())
'''output'''
yn=lambda b:print("Yes" if b else "No")
'''createList'''
cl=lambda x,d:[d for i in range(x)]# a=c2l(10,23,"x")
'''code'''
moji='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
li=[0 for i in range(26)]
N=i1()
S=s1()
for i in S:
    li[moji.find(i)]+=1
for i in li:
    print(str(i),end="")
0