結果

問題 No.1463 Hungry Kanten
ユーザー kotatsugamekotatsugame
提出日時 2021-04-02 23:14:06
言語 Ruby
(3.3.0)
結果
TLE  
実行時間 -
コード長 98 bytes
コンパイル時間 218 ms
コンパイル使用メモリ 11,524 KB
実行使用メモリ 92,948 KB
最終ジャッジ日時 2023-08-25 15:04:49
合計ジャッジ時間 3,926 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 85 ms
19,628 KB
testcase_01 AC 87 ms
15,332 KB
testcase_02 TLE -
testcase_03 -- -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

eval"N,K,*A="+`dd`.split*?,
h=[]
K.upto(N){A.combination(_1){|a|h|=[a.sum,a.reduce(:*)]}}
p h.size
0