結果

問題 No.558 575検出するやつ
ユーザー maimai
提出日時 2017-08-01 10:06:31
言語 cLay
(20241019-1)
結果
RE  
実行時間 -
コード長 253 bytes
コンパイル時間 1,560 ms
コンパイル使用メモリ 169,876 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-05 12:26:04
合計ジャッジ時間 2,552 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 5
other AC * 13 RE * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

void yes(){ cout << "YES" << endl; exit(0); }
void no(){cout << "NO" << endl; exit(0); }

string str;
int i;
{
    cin >> str;
    rep(i,str.size()-2){
        if (str[i] == '5' && str[i+1] == '7' && str[i+2] == '5')
            yes();
    }
    no();
}
0