結果
| 問題 |
No.558 575検出するやつ
|
| コンテスト | |
| ユーザー |
SugarDragon5
|
| 提出日時 | 2017-08-25 22:21:38 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 281 bytes |
| コンパイル時間 | 1,486 ms |
| コンパイル使用メモリ | 167,732 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-10-15 15:50:18 |
| 合計ジャッジ時間 | 2,706 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 5 |
| other | AC * 11 WA * 1 RE * 3 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
int main(){
string st;
cin>>st;
for(int i=0;i<st.length()-3;i++){
if(st[i]=='5'&&st[i+1]=='7'&&st[i+2]=='5'){
cout<<"YES"<<endl;
return 0;
}
}
cout<<"NO"<<endl;
return 0;
}
SugarDragon5