結果
| 問題 | No.2450 99-like Number |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-09-04 21:35:55 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 57 ms / 2,000 ms |
| + 151µs | |
| コード長 | 163 bytes |
| 記録 | |
| コンパイル時間 | 226 ms |
| コンパイル使用メモリ | 96,488 KB |
| 実行使用メモリ | 78,720 KB |
| 最終ジャッジ日時 | 2026-07-19 20:14:10 |
| 合計ジャッジ時間 | 3,247 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 19 |
ソースコード
N = int(input())
N += 1
while True:
N, m = divmod(N, 10)
if m != 0:
print("No")
exit()
if N == 1:
print("Yes")
exit()