結果
問題 |
No.8020 サンシャイン◯崎
|
ユーザー |
|
提出日時 | 2022-09-23 04:26:59 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 5 ms / 1,000 ms |
コード長 | 221 bytes |
コンパイル時間 | 1,737 ms |
コンパイル使用メモリ | 173,396 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-22 05:11:33 |
合計ジャッジ時間 | 2,816 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 20 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { string s; cin >> s; map<char, int> cnt; for(auto c : s) cnt[c]++; string yeah = "YEAH!"; for(auto c : yeah) cout << cnt[c] << (c == '!' ? "\n" : " "); }