結果

問題 No.677 10^Nの約数
ユーザー tktk_snsntktk_snsn
提出日時 2021-01-30 12:13:10
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 136 ms / 2,000 ms
コード長 177 bytes
コンパイル時間 103 ms
コンパイル使用メモリ 10,644 KB
実行使用メモリ 29,960 KB
最終ジャッジ日時 2023-09-10 08:54:51
合計ジャッジ時間 6,312 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 134 ms
29,560 KB
testcase_01 AC 133 ms
29,564 KB
testcase_02 AC 133 ms
29,612 KB
testcase_03 AC 133 ms
29,704 KB
testcase_04 AC 132 ms
29,656 KB
testcase_05 AC 132 ms
29,752 KB
testcase_06 AC 135 ms
29,744 KB
testcase_07 AC 135 ms
29,732 KB
testcase_08 AC 130 ms
29,672 KB
testcase_09 AC 132 ms
29,772 KB
testcase_10 AC 132 ms
29,884 KB
testcase_11 AC 135 ms
29,740 KB
testcase_12 AC 131 ms
29,720 KB
testcase_13 AC 133 ms
29,852 KB
testcase_14 AC 133 ms
29,644 KB
testcase_15 AC 134 ms
29,760 KB
testcase_16 AC 134 ms
29,740 KB
testcase_17 AC 135 ms
29,680 KB
testcase_18 AC 136 ms
29,960 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import numpy as np
N = int(input())

a = np.arange(N + 1, dtype=np.int64)
two = 2 ** a
five = 5 ** a

ans = np.multiply.outer(two, five).flatten()
print(*np.sort(ans), sep="\n")
0