結果
| 問題 | No.2707 Bag of Words Encryption |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-04-03 10:07:31 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 42 ms / 2,000 ms |
| + 884µs | |
| コード長 | 166 bytes |
| 記録 | |
| コンパイル時間 | 61 ms |
| コンパイル使用メモリ | 81,700 KB |
| 実行使用メモリ | 78,240 KB |
| 最終ジャッジ日時 | 2026-09-07 01:26:37 |
| 合計ジャッジ時間 | 2,312 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 15 |
ソースコード
import string, collections
N = int(input())
S = input()
ans = ""
dic = collections.Counter(S)
for c in string.ascii_uppercase:
ans += str(dic[c])
print(ans)