結果
| 問題 |
No.2450 99-like Number
|
| コンテスト | |
| ユーザー |
sotanishy
|
| 提出日時 | 2023-09-01 21:20:52 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 41 ms / 2,000 ms |
| コード長 | 89 bytes |
| コンパイル時間 | 254 ms |
| コンパイル使用メモリ | 82,368 KB |
| 実行使用メモリ | 52,096 KB |
| 最終ジャッジ日時 | 2025-01-03 07:04:01 |
| 合計ジャッジ時間 | 1,884 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 18 |
ソースコード
N = int(input())
N += 1
while N % 10 == 0:
N //= 10
print("Yes" if N == 1 else "No")
sotanishy