結果
| 問題 | No.2707 Bag of Words Encryption |
| コンテスト | |
| ユーザー |
nonon
|
| 提出日時 | 2024-03-31 13:32:57 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 226 bytes |
| 記録 | |
| コンパイル時間 | 1,173 ms |
| コンパイル使用メモリ | 215,736 KB |
| 実行使用メモリ | 11,940 KB |
| 最終ジャッジ日時 | 2026-07-04 07:53:34 |
| 合計ジャッジ時間 | 1,980 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;
}
nonon