結果
| 問題 |
No.558 575検出するやつ
|
| コンテスト | |
| ユーザー |
gon_027
|
| 提出日時 | 2018-09-09 21:57:50 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 373 bytes |
| コンパイル時間 | 555 ms |
| コンパイル使用メモリ | 56,744 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-12-24 06:57:45 |
| 合計ジャッジ時間 | 1,310 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 5 |
| other | AC * 15 |
ソースコード
#include <iostream>
#include <string>
using namespace std;
#define p(x) cout << x << endl;
#define el cout << endl;
int main(){
cin.tie(0);
ios::sync_with_stdio(false);
string s;
cin >> s;
// 検索する文字列
string search = "575";
if(s.find(search) != string::npos){
printf("YES\n");
}else{
printf("NO\n");
}
}
gon_027