結果

問題 No.58 イカサマなサイコロ
ユーザー letrangerjpletrangerjp
提出日時 2017-06-17 20:21:36
言語 Perl
(5.38.2)
結果
AC  
実行時間 4,017 ms / 5,000 ms
コード長 89 bytes
コンパイル時間 378 ms
コンパイル使用メモリ 76,056 KB
実行使用メモリ 76,184 KB
最終ジャッジ日時 2024-04-08 20:33:42
合計ジャッジ時間 28,156 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,467 ms
76,184 KB
testcase_01 AC 4,017 ms
76,184 KB
testcase_02 AC 1,517 ms
76,184 KB
testcase_03 AC 1,127 ms
76,184 KB
testcase_04 AC 2,871 ms
76,184 KB
testcase_05 AC 3,252 ms
76,184 KB
testcase_06 AC 3,831 ms
76,184 KB
testcase_07 AC 1,423 ms
76,184 KB
testcase_08 AC 2,130 ms
76,184 KB
testcase_09 AC 3,984 ms
76,184 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

($n,$k)=<>;print+(grep{$.+=~~rand(6)-~~($_>$k?rand 6:3+rand 3)for!<>..$n;$.<0}1..1e6)/1e6
0