結果
問題 | No.2450 99-like Number |
ユーザー | Tomoyarn |
提出日時 | 2023-09-04 21:35:55 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 38 ms / 2,000 ms |
コード長 | 163 bytes |
コンパイル時間 | 312 ms |
コンパイル使用メモリ | 82,260 KB |
実行使用メモリ | 53,720 KB |
最終ジャッジ日時 | 2024-06-22 19:05:11 |
合計ジャッジ時間 | 1,976 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 18 |
ソースコード
N = int(input()) N += 1 while True: N, m = divmod(N, 10) if m != 0: print("No") exit() if N == 1: print("Yes") exit()