結果

問題 No.558 575検出するやつ
ユーザー lunnear
提出日時 2018-12-12 14:56:01
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 254 bytes
コンパイル時間 434 ms
コンパイル使用メモリ 55,460 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-25 03:34:41
合計ジャッジ時間 1,324 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 5
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <string.h>

int main()
{
    char s[101];
    std::cin >> s;
    
    if(strstr(s, "575"))
    {
        std::cout << "YES" << std::endl;
    }
    else
    {
        std::cout << "NO" << std::endl;
    }
    
    return 0;
}
0