結果

問題 No.58 イカサマなサイコロ
ユーザー %20%20
提出日時 2017-06-18 00:59:43
言語 Perl
(5.38.0)
結果
AC  
実行時間 3,774 ms / 5,000 ms
コード長 121 bytes
コンパイル時間 136 ms
コンパイル使用メモリ 53,996 KB
実行使用メモリ 59,396 KB
最終ジャッジ日時 2023-07-24 16:59:50
合計ジャッジ時間 25,302 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,251 ms
59,396 KB
testcase_01 AC 3,774 ms
59,352 KB
testcase_02 AC 1,256 ms
59,284 KB
testcase_03 AC 899 ms
59,264 KB
testcase_04 AC 2,562 ms
59,280 KB
testcase_05 AC 2,937 ms
59,348 KB
testcase_06 AC 3,489 ms
59,284 KB
testcase_07 AC 1,253 ms
59,268 KB
testcase_08 AC 1,879 ms
59,228 KB
testcase_09 AC 3,459 ms
59,256 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

($N,$K)=<>;
map{
	$-=0;
	$-+=$_>$K?1+rand 6:4+rand 3for 1..$N;
	$--=0|1+rand 6for 1..$N;
	$%+=!!$-;
}1..7e5;
print$%/7e5
0