結果
| 問題 |
No.2450 99-like Number
|
| コンテスト | |
| ユーザー |
もぐら 3.0
|
| 提出日時 | 2023-11-12 23:13:15 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 42 ms / 2,000 ms |
| コード長 | 138 bytes |
| コンパイル時間 | 199 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 52,096 KB |
| 最終ジャッジ日時 | 2024-09-26 03:05:50 |
| 合計ジャッジ時間 | 1,778 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 18 |
ソースコード
N = int(input())
temp=N+1
while temp!=1:
if temp%10==0:
temp//=10
else:
print("No")
exit()
print("Yes")
もぐら 3.0