結果

問題 No.2450 99-like Number
コンテスト
ユーザー L1lykn1ght
提出日時 2023-09-02 12:20:53
言語 PyPy3
(7.3.17)
結果
AC  
実行時間 52 ms / 2,000 ms
コード長 199 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 178 ms
コンパイル使用メモリ 82,400 KB
実行使用メモリ 53,912 KB
最終ジャッジ日時 2025-12-26 12:06:51
合計ジャッジ時間 1,902 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 19
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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