結果

問題 No.2450 99-like Number
ユーザー bluemeganebluemegane
提出日時 2023-09-01 22:36:55
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 53 ms / 2,000 ms
コード長 234 bytes
コンパイル時間 1,819 ms
コンパイル使用メモリ 67,328 KB
実行使用メモリ 23,308 KB
最終ジャッジ日時 2023-09-01 22:37:01
合計ジャッジ時間 3,346 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 49 ms
21,156 KB
testcase_01 AC 50 ms
23,304 KB
testcase_02 AC 49 ms
19,148 KB
testcase_03 AC 48 ms
23,216 KB
testcase_04 AC 48 ms
21,264 KB
testcase_05 AC 49 ms
21,256 KB
testcase_06 AC 50 ms
21,444 KB
testcase_07 AC 49 ms
21,204 KB
testcase_08 AC 51 ms
23,212 KB
testcase_09 AC 50 ms
21,204 KB
testcase_10 AC 53 ms
21,320 KB
testcase_11 AC 50 ms
23,288 KB
testcase_12 AC 51 ms
21,268 KB
testcase_13 AC 50 ms
21,240 KB
testcase_14 AC 51 ms
21,172 KB
testcase_15 AC 51 ms
23,308 KB
testcase_16 AC 49 ms
21,252 KB
testcase_17 AC 50 ms
21,228 KB
testcase_18 AC 49 ms
21,124 KB
testcase_19 AC 50 ms
21,164 KB
testcase_20 AC 50 ms
21,108 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System.Linq;
using System;

public class Hello
{
    static void Main()
    {
        var s = Console.ReadLine().Trim();
        var c9 = s.Count(x => x == '9');
        Console.WriteLine(c9 == s.Length ? "Yes" : "No");
    }
}
0