結果
問題 |
No.2706 One Nafmo
|
ユーザー |
![]() |
提出日時 | 2024-03-31 13:40:25 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 310 bytes |
コンパイル時間 | 2,047 ms |
コンパイル使用メモリ | 200,072 KB |
最終ジャッジ日時 | 2025-02-20 16:25:47 |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 4 |
other | WA * 9 |
ソースコード
#include "bits/stdc++.h" using namespace std; #define int long long #define rep(i, n) for (int i = 0; i < n; i++) signed main() { int n; string s; cin >> n >> s; map<char, int> mp; rep(i, s.size()) { mp[s[i]]++; } for (int i = 0; i < 26; i++) { cout << mp[char('A' + i)]; } cout << endl; }