結果
| 問題 |
No.558 575検出するやつ
|
| コンテスト | |
| ユーザー |
hiyokko2
|
| 提出日時 | 2017-08-25 22:21:46 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 412 bytes |
| コンパイル時間 | 1,636 ms |
| コンパイル使用メモリ | 158,368 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-10-15 15:51:58 |
| 合計ジャッジ時間 | 2,541 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 5 |
| other | AC * 15 |
ソースコード
#include <bits/stdc++.h>
#define FOR(i,bg,ed) for(ll i=(bg);i<(ed);i++)
#define REP(i,n) FOR(i,0,n)
#define MOD 1000000007
#define int long long
using namespace std;
typedef long long ll;
typedef vector<vector<ll>> mat;
const int INF = 1e9;
signed main()
{
string S;
cin >> S;
if (S.find("575") != string::npos) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
}
hiyokko2