結果

問題 No.3035 2018
ユーザー cielciel
提出日時 2020-02-08 22:09:54
言語 Crystal
(1.11.2)
結果
MLE  
実行時間 -
コード長 114 bytes
コンパイル時間 18,538 ms
コンパイル使用メモリ 255,700 KB
実行使用メモリ 814,432 KB
最終ジャッジ日時 2023-09-13 10:18:53
合計ジャッジ時間 25,450 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

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