結果

問題 No.1058 素敵な数
ユーザー kamomekamome
提出日時 2020-05-22 21:38:22
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 32 ms / 2,000 ms
コード長 1,277 bytes
コンパイル時間 104 ms
コンパイル使用メモリ 12,928 KB
実行使用メモリ 11,008 KB
最終ジャッジ日時 2024-04-15 16:15:58
合計ジャッジ時間 980 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 32 ms
11,008 KB
testcase_01 AC 31 ms
11,008 KB
testcase_02 AC 31 ms
11,008 KB
testcase_03 AC 31 ms
11,008 KB
testcase_04 AC 31 ms
10,880 KB
testcase_05 AC 30 ms
11,008 KB
testcase_06 AC 31 ms
11,008 KB
testcase_07 AC 31 ms
10,880 KB
testcase_08 AC 31 ms
10,880 KB
testcase_09 AC 32 ms
11,008 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())-1
L=[]
Z=[(1,1),(100003, 100003), (100003, 100019), (100003, 100043), (100003, 100049), (100003, 100057), (100003, 100069), (100003, 100103), (100003, 100109), (100003, 100129), (100003, 100151), (100003, 100153), (100019, 100019), (100019, 100043), (100019, 100049), (100019, 100057), (100019, 100069), (100019, 100103), (100019, 100109), (100019, 100129), (100019, 100151), (100019, 100153), (100043, 100043), (100043, 100049), (100043, 100057), (100043, 100069), (100043, 100103), (100043, 100109), (100043, 100129), (100043, 100151), (100043, 100153), (100049, 100049), (100049, 100057), (100049, 100069), (100049, 100103), (100049, 100109), (100049, 100129), (100049, 100151), (100049, 100153), (100057, 100057), (100057, 100069), (100057, 100103), (100057, 100109), (100057, 100129), (100057, 100151), (100057, 100153), (100069, 100069), (100069, 100103), (100069, 100109), (100069, 100129), (100069, 100151), (100069, 100153), (100103, 100103), (100103, 100109), (100103, 100129), (100103, 100151), (100103, 100153), (100109, 100109), (100109, 100129), (100109, 100151), (100109, 100153), (100129, 100129), (100129, 100151), (100129, 100153), (100151, 100151), (100151, 100153), (100153, 100153)]
for i,j in Z:
    L.append(i*j)
L.sort()
print(L[N])
    
0