結果

問題 No.3159 Just Answer 10 Integers!
ユーザー titia
提出日時 2025-06-02 04:45:01
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 29 ms / 2,000 ms
コード長 198 bytes
コンパイル時間 656 ms
コンパイル使用メモリ 12,288 KB
実行使用メモリ 10,240 KB
最終ジャッジ日時 2025-06-02 04:45:04
合計ジャッジ時間 2,266 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

P=[2,3,5,7,11,13,17,19,23]
n=int(input())

ANS=[]
for i in range(n):
    score=1
    for j in range(9):
        if i==j:
            continue
        score*=P[j]

    ANS.append(score)

print(*ANS)
0