結果
問題 | No.558 575検出するやつ |
ユーザー |
|
提出日時 | 2024-03-27 17:28:06 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 357 bytes |
コンパイル時間 | 1,914 ms |
コンパイル使用メモリ | 192,344 KB |
最終ジャッジ日時 | 2025-02-20 14:03:11 |
ジャッジサーバーID (参考情報) |
judge3 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 5 |
other | AC * 13 RE * 2 |
ソースコード
#include <bits/stdc++.h>using namespace std;typedef int64_t lint;int main(){string s;cin>>s;for(int i=0;i!=s.size()-2;i++){if(s[i]=='5'&&s[i+1]=='7'&&s[i+2]=='5'){cout<<"YES"<<endl;// system("pause");return 0;}}cout<<"NO"<<endl;// system("pause");return 0;}