結果
問題 |
No.3240 Count 8 Included Numbers (Easy)
|
ユーザー |
![]() |
提出日時 | 2025-08-30 15:05:53 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 140 bytes |
コンパイル時間 | 785 ms |
コンパイル使用メモリ | 95,236 KB |
実行使用メモリ | 7,716 KB |
最終ジャッジ日時 | 2025-08-30 15:05:55 |
合計ジャッジ時間 | 1,740 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 2 |
other | WA * 16 |
ソースコード
#include<iostream> #include<algorithm> using namespace std; int main(){ string s; cin>>s; cout<<count(s.begin(),s.end(),'8')<<endl; }