結果

問題 No.58 イカサマなサイコロ
ユーザー letrangerjpletrangerjp
提出日時 2017-06-17 20:23:44
言語 Perl
(5.38.2)
結果
AC  
実行時間 3,713 ms / 5,000 ms
コード長 93 bytes
コンパイル時間 421 ms
コンパイル使用メモリ 76,056 KB
実行使用メモリ 76,184 KB
最終ジャッジ日時 2024-04-08 20:34:08
合計ジャッジ時間 24,703 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,177 ms
76,184 KB
testcase_01 AC 3,713 ms
76,184 KB
testcase_02 AC 1,242 ms
76,184 KB
testcase_03 AC 862 ms
76,184 KB
testcase_04 AC 2,566 ms
76,184 KB
testcase_05 AC 2,946 ms
76,184 KB
testcase_06 AC 3,507 ms
76,184 KB
testcase_07 AC 1,147 ms
76,184 KB
testcase_08 AC 1,836 ms
76,184 KB
testcase_09 AC 3,625 ms
76,184 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

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