結果

問題 No.58 イカサマなサイコロ
ユーザー yuruhiyayuruhiya
提出日時 2021-02-01 17:11:51
言語 Ruby
(3.3.0)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 75 bytes
コンパイル時間 55 ms
コンパイル使用メモリ 11,448 KB
実行使用メモリ 15,496 KB
最終ジャッジ日時 2023-09-12 10:12:09
合計ジャッジ時間 29,894 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,417 ms
15,436 KB
testcase_01 AC 4,866 ms
15,496 KB
testcase_02 AC 1,385 ms
15,368 KB
testcase_03 AC 972 ms
15,248 KB
testcase_04 AC 3,139 ms
15,472 KB
testcase_05 AC 3,537 ms
15,388 KB
testcase_06 AC 4,428 ms
15,396 KB
testcase_07 AC 1,435 ms
15,368 KB
testcase_08 WA -
testcase_09 AC 4,272 ms
15,252 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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