結果

問題 No.1058 素敵な数
ユーザー 学ぶマン
提出日時 2025-03-12 16:54:41
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 206 bytes
コンパイル時間 276 ms
コンパイル使用メモリ 82,284 KB
実行使用メモリ 53,988 KB
最終ジャッジ日時 2025-03-12 16:54:42
合計ジャッジ時間 1,527 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other WA * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

from itertools import combinations
N = int(input())
candi = [0, 1]
material = [100003, 100019, 100043, 100049, 100057]
for a, b in combinations(material, 2):
    candi.append(a*b)
ans = candi[N]
print(ans)
0