結果

問題 No.58 イカサマなサイコロ
ユーザー yuruhiyayuruhiya
提出日時 2021-02-01 17:11:19
言語 Ruby
(3.3.0)
結果
AC  
実行時間 4,835 ms / 5,000 ms
コード長 75 bytes
コンパイル時間 335 ms
コンパイル使用メモリ 11,204 KB
実行使用メモリ 15,380 KB
最終ジャッジ日時 2023-09-12 10:11:22
合計ジャッジ時間 30,404 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,419 ms
15,176 KB
testcase_01 AC 4,835 ms
15,260 KB
testcase_02 AC 1,390 ms
15,292 KB
testcase_03 AC 963 ms
15,304 KB
testcase_04 AC 3,134 ms
15,244 KB
testcase_05 AC 3,546 ms
15,240 KB
testcase_06 AC 4,424 ms
15,280 KB
testcase_07 AC 1,426 ms
15,244 KB
testcase_08 AC 2,279 ms
15,180 KB
testcase_09 AC 4,261 ms
15,380 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

eval"p (1..1e6).count{(1..%d).sum{rand(6)-rand(_1>%d?6:3..5)}<0}/1e6"%[*$<]
0