結果

問題 No.558 575検出するやつ
ユーザー kmtrc130kmtrc130
提出日時 2019-03-18 16:08:09
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 73 ms / 2,000 ms
コード長 365 bytes
コンパイル時間 1,922 ms
コンパイル使用メモリ 98,900 KB
実行使用メモリ 23,152 KB
最終ジャッジ日時 2023-09-25 13:39:06
合計ジャッジ時間 4,431 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

using System;
using System.Collections.Generic;
using System.Linq;

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