結果

問題 No.58 イカサマなサイコロ
ユーザー %20%20
提出日時 2017-06-18 00:53:57
言語 Perl
(5.38.2)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 121 bytes
コンパイル時間 386 ms
コンパイル使用メモリ 40,640 KB
実行使用メモリ 44,736 KB
最終ジャッジ日時 2024-04-08 20:53:31
合計ジャッジ時間 17,371 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,004 ms
44,736 KB
testcase_01 AC 2,604 ms
44,736 KB
testcase_02 AC 882 ms
44,736 KB
testcase_03 AC 631 ms
44,736 KB
testcase_04 AC 1,775 ms
44,736 KB
testcase_05 AC 1,996 ms
44,736 KB
testcase_06 WA -
testcase_07 AC 886 ms
44,736 KB
testcase_08 AC 1,323 ms
44,736 KB
testcase_09 AC 2,385 ms
44,736 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..5e5;
print$%/5e5
0