結果

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

テストケース

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

ソースコード

diff #

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