結果

問題 No.58 イカサマなサイコロ
ユーザー %20%20
提出日時 2017-06-18 00:53:10
言語 Perl
(5.38.0)
結果
WA  
実行時間 -
コード長 121 bytes
コンパイル時間 304 ms
コンパイル使用メモリ 11,224 KB
実行使用メモリ 12,384 KB
最終ジャッジ日時 2023-07-24 16:52:23
合計ジャッジ時間 4,383 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 180 ms
12,384 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 132 ms
12,248 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 274 ms
12,324 KB
testcase_09 AC 496 ms
12,224 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..1e5;
print$%/1e5
0