結果
問題 | No.677 10^Nの約数 |
ユーザー |
![]() |
提出日時 | 2020-01-06 08:58:31 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 34 ms / 2,000 ms |
コード長 | 281 bytes |
コンパイル時間 | 214 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-11-22 23:48:23 |
合計ジャッジ時間 | 1,418 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 17 |
ソースコード
n = int(input())res_list = []for i in range(0, n + 1):for j in range(0, n + 1):res_list.append((2 ** i) * (5 ** j))sorted_res = sorted(res_list)res_set = sorted(set(sorted_res), key=sorted_res.index)for i in range(len(res_set)):print(res_set[i])