結果
問題 | No.558 575検出するやつ |
ユーザー |
![]() |
提出日時 | 2017-08-26 01:27:35 |
言語 | C++11 (gcc 13.3.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 300 bytes |
コンパイル時間 | 491 ms |
コンパイル使用メモリ | 58,440 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-15 16:23:02 |
合計ジャッジ時間 | 1,694 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 5 |
other | AC * 11 WA * 1 RE * 3 |
ソースコード
#include<iostream>#include<vector>using namespace std;#define repeat(i,n) for(int i=0;i<(n);i++)int main(){string s; cin>> s;repeat(i, s.size()-3){if(s[i]=='5' and s[i+1]=='7' and s[i+2]=='5'){cout<< "YES"<< endl; return 0;}}cout<< "NO"<< endl;return 0;}