結果

問題 No.2450 99-like Number
ユーザー L1lykn1ght
提出日時 2023-09-02 12:20:53
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 37 ms / 2,000 ms
コード長 199 bytes
コンパイル時間 135 ms
コンパイル使用メモリ 82,732 KB
実行使用メモリ 53,556 KB
最終ジャッジ日時 2024-06-11 19:03:05
合計ジャッジ時間 1,591 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 18
権限があれば一括ダウンロードができます

ソースコード

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