結果
問題 | No.558 575検出するやつ |
ユーザー |
![]() |
提出日時 | 2019-07-19 14:35:20 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 366 bytes |
コンパイル時間 | 145 ms |
コンパイル使用メモリ | 28,544 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-26 00:05:16 |
合計ジャッジ時間 | 1,041 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 5 |
other | AC * 15 |
ソースコード
#include <stdio.h> int main(void){ char s[101]; scanf( "%s", s ); for( int i = 0; i <= 98; i++ ){ if( s[i] == '5' ){ if( s[i + 1] == '7' ){ if( s[i + 2] == '5' ){ printf( "YES\n" ); return 0; } } } } printf( "NO\n" ); return 0; }