結果
問題 |
No.2707 Bag of Words Encryption
|
ユーザー |
![]() |
提出日時 | 2024-03-31 13:32:57 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 4 ms / 2,000 ms |
コード長 | 226 bytes |
コンパイル時間 | 2,015 ms |
コンパイル使用メモリ | 191,344 KB |
最終ジャッジ日時 | 2025-02-20 16:16:09 |
ジャッジサーバーID (参考情報) |
judge3 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 15 |
ソースコード
#include<bits/stdc++.h> using namespace std; int N; string S; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); cin>>N>>S; for(char c='A';c<='Z';c++)cout<<count(S.begin(),S.end(),c); cout<<endl; }