結果

問題 No.558 575検出するやつ
ユーザー asdfghjkl;
提出日時 2019-11-28 21:26:59
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 265 bytes
コンパイル時間 212 ms
コンパイル使用メモリ 29,952 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-19 03:34:10
合計ジャッジ時間 915 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 WA * 2
other AC * 6 WA * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
#include <math.h>
int main(void){
int count;
int flag=0;
char s[10000];
scanf("%s",s);
for(count=0;s[count+2]!='\0';count++){
    if(s[count]=='5'&&s[count+1]=='7'&&s[count+2]=='7'){flag=1;}
}
if(flag==1){printf("YES\n");}
else{printf("NO\n");}
}
0