結果
| 問題 | No.558 575検出するやつ |
| コンテスト | |
| ユーザー |
👑 ikd
|
| 提出日時 | 2017-08-26 01:27:35 |
| 言語 | C++11 (gcc 15.3.0 + boost 1.92.0) |
| 結果 |
RE
不安定
|
| 実行時間 | - |
| コード長 | 300 bytes |
| 記録 | |
| コンパイル時間 | 302 ms |
| コンパイル使用メモリ | 73,700 KB |
| 実行使用メモリ | 10,000 KB |
| 最終ジャッジ日時 | 2026-09-18 16:50:53 |
| 合計ジャッジ時間 | 1,967 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;
}
ikd