結果
| 問題 |
No.558 575検出するやつ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-11-07 21:40:27 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 248 bytes |
| コンパイル時間 | 465 ms |
| コンパイル使用メモリ | 55,004 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-24 04:52:44 |
| 合計ジャッジ時間 | 1,169 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 5 |
| other | WA * 15 |
ソースコード
#include <iostream>
#include <string>
#include <string.h>
using namespace std;
int main(int argc, char* argv[])
{
string s;
cin>>s;
char*p=(char*)s.c_str();
if (!strstr(p,"575")){
cout<<"YES"<<endl;
}else{
cout<<"NO"<<endl;
}
return 0;
}