結果

問題 No.3035 2018
ユーザー cielciel
提出日時 2018-04-03 09:10:56
言語 Crystal
(1.11.2)
結果
MLE  
実行時間 -
コード長 113 bytes
コンパイル時間 16,271 ms
コンパイル使用メモリ 254,336 KB
実行使用メモリ 820,100 KB
最終ジャッジ日時 2023-09-13 09:42:38
合計ジャッジ時間 24,246 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 MLE -
testcase_01 -- -
testcase_02 -- -
testcase_03 -- -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

M=14**6
a=[0]*-~M
(1..M).map{|i|(1..M/i).map{|j|a[i*j]+=1}}
a=(1..M).select{|i|a[i]==4}
p a[gets.not_nil!.to_i-1]
0