結果
| 問題 |
No.558 575検出するやつ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-03-14 23:37:15 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 218 bytes |
| コンパイル時間 | 450 ms |
| コンパイル使用メモリ | 54,364 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-30 01:29:20 |
| 合計ジャッジ時間 | 1,386 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / 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 != std::string::npos){
cout << "YES\n";
}
else{
cout << "NO\n";
}
}