結果
問題 | No.2607 Add One Digit |
ユーザー | ripity |
提出日時 | 2024-01-19 22:39:13 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 29 ms / 1,000 ms |
コード長 | 127 bytes |
コンパイル時間 | 159 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-09-28 04:51:28 |
合計ジャッジ時間 | 1,371 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 17 |
ソースコード
N = input() S = set() for i in range(len(N)+1): for d in range(10): n = int(N[:i]+str(d)+N[i:]) S.add(n) print(len(S)-1)