結果
| 問題 |
No.3159 Just Answer 10 Integers!
|
| コンテスト | |
| ユーザー |
norioc
|
| 提出日時 | 2025-05-24 07:00:52 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 263 bytes |
| コンパイル時間 | 755 ms |
| コンパイル使用メモリ | 81,868 KB |
| 実行使用メモリ | 53,776 KB |
| 最終ジャッジ日時 | 2025-05-24 07:00:54 |
| 合計ジャッジ時間 | 1,722 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 8 WA * 1 |
ソースコード
from math import prod
def solve(n: int):
primes = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29][:n]
x = prod(primes)
res = []
for i in range(len(primes)):
res.append(x // primes[i])
return res
N = int(input())
ans = solve(N)
print(*ans)
norioc