結果
| 問題 |
No.3159 Just Answer 10 Integers!
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-05-23 20:13:06 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 34 ms / 2,000 ms |
| コード長 | 161 bytes |
| コンパイル時間 | 288 ms |
| コンパイル使用メモリ | 82,352 KB |
| 実行使用メモリ | 53,576 KB |
| 最終ジャッジ日時 | 2025-05-23 20:13:07 |
| 合計ジャッジ時間 | 1,349 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 9 |
ソースコード
N = int(input())
a = [2,3,5,7,11,13,17,19,23,1]
s = []
base = 1
for i in a[:N]:
base *= i
ans = []
for i in range(N):
ans.append(base//a[i])
print(*ans)