結果
問題 |
No.558 575検出するやつ
|
ユーザー |
![]() |
提出日時 | 2022-04-26 22:56:25 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 244 bytes |
コンパイル時間 | 498 ms |
コンパイル使用メモリ | 70,380 KB |
最終ジャッジ日時 | 2025-01-28 22:02:24 |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 5 |
other | AC * 15 |
ソースコード
#include <iostream> #include <string> #include <cstring> #include <vector> using namespace std; int main() { char S[200]; cin >> S; if( strstr( S, "575" ) ) { cout << "YES" << endl; } else { cout << "NO" << endl; } return 0; }