結果
問題 | No.8020 サンシャイン◯崎 |
ユーザー |
|
提出日時 | 2020-08-01 10:36:32 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 1,000 ms |
コード長 | 373 bytes |
コンパイル時間 | 722 ms |
コンパイル使用メモリ | 71,548 KB |
最終ジャッジ日時 | 2025-01-12 12:24:55 |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 20 |
ソースコード
#include <iostream>#include <algorithm>#include <string>const std::string t = "YEAH!";void solve() {std::string s;std::cin >> s;for (char c : t) {std::cout << std::count(s.begin(), s.end(), c) << " ";}std::cout << "\n";}int main() {std::cin.tie(nullptr);std::ios::sync_with_stdio(false);solve();return 0;}