結果

問題 No.2450 99-like Number
ユーザー L1lykn1ghtL1lykn1ght
提出日時 2023-09-02 12:20:53
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 78 ms / 2,000 ms
コード長 199 bytes
コンパイル時間 290 ms
コンパイル使用メモリ 87,084 KB
実行使用メモリ 71,508 KB
最終ジャッジ日時 2023-09-02 12:20:58
合計ジャッジ時間 2,950 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,508 KB
testcase_01 AC 73 ms
71,436 KB
testcase_02 AC 71 ms
71,400 KB
testcase_03 AC 73 ms
71,364 KB
testcase_04 AC 76 ms
71,308 KB
testcase_05 AC 72 ms
71,164 KB
testcase_06 AC 72 ms
71,396 KB
testcase_07 AC 72 ms
71,300 KB
testcase_08 AC 73 ms
71,248 KB
testcase_09 AC 78 ms
71,304 KB
testcase_10 AC 73 ms
71,300 KB
testcase_11 AC 73 ms
71,252 KB
testcase_12 AC 73 ms
71,452 KB
testcase_13 AC 72 ms
71,212 KB
testcase_14 AC 72 ms
71,220 KB
testcase_15 AC 72 ms
71,156 KB
testcase_16 AC 73 ms
71,276 KB
testcase_17 AC 73 ms
71,212 KB
testcase_18 AC 72 ms
71,224 KB
testcase_19 AC 73 ms
71,016 KB
testcase_20 AC 73 ms
71,412 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys

read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines


N = readline().rstrip()

if len(set(N)) == 1 and N[0] == '9':
    print('Yes')
else:
    print('No')
0