結果
問題 | No.2607 Add One Digit |
ユーザー |
![]() |
提出日時 | 2024-08-15 09:41:11 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 24 ms / 1,000 ms |
コード長 | 185 bytes |
コンパイル時間 | 132 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-08-15 09:41:13 |
合計ジャッジ時間 | 1,237 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 17 |
ソースコード
N = input()lst = []for i in range(len(N)+1):for j in range(10):lst.append(N[:i] + str(j) + N[i:])lst = [i for i in lst if i[0] != '0']lst = list(set(lst))print(len(lst))