結果
問題 |
No.2707 Bag of Words Encryption
|
ユーザー |
|
提出日時 | 2025-06-03 21:05:46 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 57 ms / 2,000 ms |
コード長 | 157 bytes |
コンパイル時間 | 364 ms |
コンパイル使用メモリ | 11,904 KB |
実行使用メモリ | 10,240 KB |
最終ジャッジ日時 | 2025-06-03 21:05:48 |
合計ジャッジ時間 | 2,041 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 15 |
ソースコード
N = int(input()) S = input().strip() count = [0] * 26 for c in S: count[ord(c) - ord('A')] += 1 result = ''.join(str(x) for x in count) print(result)