結果

問題 No.27 板の準備
ユーザー %20%20
提出日時 2018-12-04 18:10:05
言語 Ruby
(3.2.2)
結果
AC  
実行時間 2,986 ms / 5,000 ms
コード長 110 bytes
コンパイル時間 84 ms
コンパイル使用メモリ 11,564 KB
実行使用メモリ 15,744 KB
最終ジャッジ日時 2023-08-27 04:57:54
合計ジャッジ時間 56,722 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2,918 ms
15,740 KB
testcase_01 AC 2,940 ms
15,540 KB
testcase_02 AC 2,914 ms
15,424 KB
testcase_03 AC 2,896 ms
15,512 KB
testcase_04 AC 2,941 ms
15,736 KB
testcase_05 AC 2,941 ms
15,720 KB
testcase_06 AC 2,986 ms
15,424 KB
testcase_07 AC 2,881 ms
15,676 KB
testcase_08 AC 2,927 ms
15,424 KB
testcase_09 AC 2,955 ms
15,672 KB
testcase_10 AC 2,940 ms
15,440 KB
testcase_11 AC 2,907 ms
15,564 KB
testcase_12 AC 2,905 ms
15,660 KB
testcase_13 AC 2,866 ms
15,736 KB
testcase_14 AC 2,952 ms
15,468 KB
testcase_15 AC 2,923 ms
15,652 KB
testcase_16 AC 2,910 ms
15,744 KB
testcase_17 AC 2,905 ms
15,736 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

gets
p (0..4e4).map{|n|*d=0
30.times{d<<(0..2).map{|x|d[~(n>>5*x&31)]||$$}.min+1}
eval'+d[%d]'*4%$_.split}.min
0