結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,588 ms
16,384 KB
testcase_01 TLE -
testcase_02 AC 1,558 ms
16,384 KB
testcase_03 AC 1,115 ms
16,384 KB
testcase_04 AC 3,429 ms
17,152 KB
testcase_05 AC 3,843 ms
17,152 KB
testcase_06 AC 4,772 ms
17,152 KB
testcase_07 AC 1,588 ms
16,384 KB
testcase_08 AC 2,517 ms
17,152 KB
testcase_09 AC 4,658 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