結果
| 問題 |
No.558 575検出するやつ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-03-28 23:13:48 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 234 bytes |
| コンパイル時間 | 496 ms |
| コンパイル使用メモリ | 54,844 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-06-25 13:54:05 |
| 合計ジャッジ時間 | 1,189 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 5 |
| other | AC * 15 |
ソースコード
#include<iostream>
#include<string>
using namespace std;
int main(){
string s;
cin >> s;
int pos;
pos = s.find("575");
if(pos!=string::npos){
cout << "YES" << endl;
}else{
cout << "NO" << endl;
}
return 0;
}