結果
| 問題 | No.558 575検出するやつ |
| コンテスト | |
| ユーザー |
Ronlynes
|
| 提出日時 | 2017-08-25 22:40:32 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 316 bytes |
| 記録 | |
| コンパイル時間 | 428 ms |
| コンパイル使用メモリ | 72,264 KB |
| 実行使用メモリ | 7,972 KB |
| 最終ジャッジ日時 | 2026-05-05 00:02:16 |
| 合計ジャッジ時間 | 1,622 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 5 |
| other | AC * 13 RE * 2 |
ソースコード
#include <iostream>
#include <string>
using namespace std;
int main(void){
string s;
cin >> s;
for(int i=0; i<s.length()-2; i++){
if(s[i] == '5' && s[i+1] == '7' && s[i+2] == '5'){
cout << "YES" << endl;
return 0;
}
}
cout << "NO" << endl;
return 0;
}
Ronlynes