結果

問題 No.1058 素敵な数
ユーザー macaronron
提出日時 2020-05-22 22:32:42
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 176 bytes
コンパイル時間 181 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-10-05 18:47:17
合計ジャッジ時間 3,773 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other WA * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
a=[1]
b=10**5
for n in range(b+1,b+21):
    for i in range(2,n):
        if n%i==0 and (n not in a) :
            a.append(n)
            
print(a[N-1])
        
0