結果

問題 No.558 575検出するやつ
ユーザー kmtrc130kmtrc130
提出日時 2017-10-18 10:39:59
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 74 ms / 2,000 ms
コード長 312 bytes
コンパイル時間 2,346 ms
コンパイル使用メモリ 96,136 KB
実行使用メモリ 23,256 KB
最終ジャッジ日時 2023-08-11 20:11:28
合計ジャッジ時間 4,765 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
21,180 KB
testcase_01 AC 69 ms
23,160 KB
testcase_02 AC 69 ms
21,188 KB
testcase_03 AC 69 ms
21,272 KB
testcase_04 AC 69 ms
21,264 KB
testcase_05 AC 71 ms
23,256 KB
testcase_06 AC 68 ms
23,152 KB
testcase_07 AC 69 ms
21,276 KB
testcase_08 AC 69 ms
21,188 KB
testcase_09 AC 68 ms
21,216 KB
testcase_10 AC 71 ms
23,212 KB
testcase_11 AC 68 ms
23,156 KB
testcase_12 AC 69 ms
21,344 KB
testcase_13 AC 67 ms
20,988 KB
testcase_14 AC 69 ms
23,108 KB
testcase_15 AC 69 ms
21,132 KB
testcase_16 AC 68 ms
23,104 KB
testcase_17 AC 74 ms
21,204 KB
testcase_18 AC 71 ms
19,076 KB
testcase_19 AC 68 ms
23,216 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

class Program
{
    public void Solve()
    {
        string S = Console.ReadLine();

        if (0 <= S.IndexOf("575")) { Console.WriteLine("YES"); }
        else { Console.WriteLine("NO"); }
    }

    static void Main()
    {
        var solver = new Program();
        solver.Solve();
    }
}
0