結果
問題 | No.2450 99-like Number |
ユーザー |
![]() |
提出日時 | 2025-03-30 19:30:56 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 2,000 ms |
コード長 | 123 bytes |
コンパイル時間 | 124 ms |
コンパイル使用メモリ | 11,904 KB |
実行使用メモリ | 10,368 KB |
最終ジャッジ日時 | 2025-03-30 19:31:09 |
合計ジャッジ時間 | 1,549 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 18 |
ソースコード
def fun(s):yes = True if {*list(s)} == {"9"} else Falsereturn "Yes" if yes else "No"n = input()print(fun(n))