結果

問題 No.3159 Just Answer 10 Integers!
ユーザー programogumogu
提出日時 2025-09-02 18:08:21
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 181 bytes
コンパイル時間 438 ms
コンパイル使用メモリ 82,296 KB
実行使用メモリ 53,396 KB
最終ジャッジ日時 2025-09-02 18:08:23
合計ジャッジ時間 2,227 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 8 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

def prod(a):
	i = 1
	for j in a:
		i *= j
	return i

n = int(input())
p = [2,3,5,7,11,13,17,19,23,29]
ans = []
sm = prod(p[:n])
for i in range(n):
	ans.append(sm//p[i])

print(*ans)
0