結果

問題 No.58 イカサマなサイコロ
ユーザー letrangerjpletrangerjp
提出日時 2017-06-17 16:31:47
言語 Ruby
(3.3.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 81 bytes
コンパイル時間 49 ms
コンパイル使用メモリ 11,904 KB
実行使用メモリ 17,152 KB
最終ジャッジ日時 2024-04-08 17:38:38
合計ジャッジ時間 32,954 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,614 ms
16,384 KB
testcase_01 TLE -
testcase_02 AC 1,575 ms
16,384 KB
testcase_03 AC 1,143 ms
16,384 KB
testcase_04 WA -
testcase_05 AC 3,893 ms
17,152 KB
testcase_06 AC 4,781 ms
17,152 KB
testcase_07 AC 1,610 ms
16,384 KB
testcase_08 AC 2,541 ms
17,152 KB
testcase_09 AC 4,684 ms
17,152 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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