結果

問題 No.3035 2018
ユーザー cielciel
提出日時 2020-02-08 22:10:40
言語 Crystal
(1.11.2)
結果
MLE  
実行時間 -
コード長 113 bytes
コンパイル時間 18,240 ms
コンパイル使用メモリ 254,424 KB
実行使用メモリ 638,304 KB
最終ジャッジ日時 2023-09-13 10:20:11
合計ジャッジ時間 25,145 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
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