結果

問題 No.558 575検出するやつ
ユーザー rayhotate1112rayhotate1112
提出日時 2018-03-27 23:11:44
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 51 ms / 2,000 ms
コード長 194 bytes
コンパイル時間 733 ms
コンパイル使用メモリ 67,428 KB
実行使用メモリ 22,664 KB
最終ジャッジ日時 2023-09-07 19:10:53
合計ジャッジ時間 2,615 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 47 ms
20,392 KB
testcase_01 AC 47 ms
20,612 KB
testcase_02 AC 49 ms
20,636 KB
testcase_03 AC 48 ms
20,488 KB
testcase_04 AC 48 ms
20,572 KB
testcase_05 AC 49 ms
22,664 KB
testcase_06 AC 49 ms
22,520 KB
testcase_07 AC 50 ms
20,512 KB
testcase_08 AC 50 ms
20,444 KB
testcase_09 AC 51 ms
20,620 KB
testcase_10 AC 48 ms
20,480 KB
testcase_11 AC 48 ms
18,492 KB
testcase_12 AC 48 ms
20,456 KB
testcase_13 AC 47 ms
18,368 KB
testcase_14 AC 47 ms
20,672 KB
testcase_15 AC 49 ms
20,472 KB
testcase_16 AC 49 ms
20,480 KB
testcase_17 AC 48 ms
20,476 KB
testcase_18 AC 48 ms
22,568 KB
testcase_19 AC 49 ms
20,640 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;
class A{static void Main(){
string a=Console.ReadLine();
for(int i=0;i<a.Length-2;i++){
if(a.Substring(i,3)=="575"){Console.WriteLine("YES");return;
}
}
Console.WriteLine("NO");
}}
0