Submission #25118
ソースコード
ステータス
| 項目 |
データ |
| 問題 |
0819 - 野獣の日 |
| ユーザー名 |
ei1710
|
| 投稿日時 |
2017-08-22 10:43:03 |
| 言語 |
C++11 |
| 状態 |
Compile Error |
| 得点 |
0
|
| ソースコード長 |
857 Byte |
| 最大実行時間 |
-
|
| 最大メモリ使用量 |
|
コンパイルメッセージ
./Main.cpp: In function ‘int func(char*)’:
./Main.cpp:11:28: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(strstr(str,google_1)!='\0')
^~~~
./Main.cpp:13:28: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(strstr(str,google_2)!='\0')
^~~~
./Main.cpp:15:28: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(strstr(str,google_3)!='\0')
^~~~
./Main.cpp:17:28: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(strstr(str,google_4)!='\0')
^~~~
./Main.cpp:19:28: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(strstr(str,google_5)!='\0')
^~~~
セット
テストケース