結果

問題 No.2450 99-like Number
ユーザー 👑 kakel-sankakel-san
提出日時 2023-09-01 21:22:16
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 53 ms / 2,000 ms
コード長 514 bytes
コンパイル時間 1,271 ms
コンパイル使用メモリ 65,788 KB
実行使用メモリ 23,380 KB
最終ジャッジ日時 2023-09-01 21:22:20
合計ジャッジ時間 3,166 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 50 ms
21,152 KB
testcase_01 AC 50 ms
23,240 KB
testcase_02 AC 50 ms
21,212 KB
testcase_03 AC 51 ms
21,156 KB
testcase_04 AC 50 ms
21,148 KB
testcase_05 AC 50 ms
21,152 KB
testcase_06 AC 51 ms
23,380 KB
testcase_07 AC 50 ms
21,140 KB
testcase_08 AC 50 ms
21,204 KB
testcase_09 AC 50 ms
21,208 KB
testcase_10 AC 49 ms
21,104 KB
testcase_11 AC 50 ms
23,252 KB
testcase_12 AC 53 ms
21,180 KB
testcase_13 AC 50 ms
23,208 KB
testcase_14 AC 50 ms
21,392 KB
testcase_15 AC 50 ms
23,216 KB
testcase_16 AC 50 ms
21,192 KB
testcase_17 AC 50 ms
21,224 KB
testcase_18 AC 50 ms
21,312 KB
testcase_19 AC 50 ms
21,316 KB
testcase_20 AC 50 ms
21,204 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;
using static System.Console;
using System.Linq;
using System.Collections.Generic;
class Program
{
    static int NN => int.Parse(ReadLine());
    static int[] NList => ReadLine().Split().Select(int.Parse).ToArray();
    static string[] SList(long n) => Enumerable.Repeat(0, (int)n).Select(_ => ReadLine()).ToArray();
    public static void Main()
    {
        Solve();
    }
    static void Solve()
    {
        var s = ReadLine();
        WriteLine(s.All(ci => ci == '9') ? "Yes" : "No");
    }
}
0