結果

問題 No.567 コンプリート
ユーザー cielciel
提出日時 2017-09-09 13:35:02
言語 Ruby
(3.3.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 121 bytes
コンパイル時間 321 ms
コンパイル使用メモリ 7,424 KB
実行使用メモリ 119,424 KB
最終ジャッジ日時 2024-04-25 01:04:25
合計ジャッジ時間 5,223 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
17,664 KB
testcase_01 AC 81 ms
12,160 KB
testcase_02 AC 85 ms
12,160 KB
testcase_03 AC 90 ms
12,160 KB
testcase_04 AC 88 ms
12,160 KB
testcase_05 AC 95 ms
12,160 KB
testcase_06 AC 88 ms
12,288 KB
testcase_07 AC 86 ms
12,032 KB
testcase_08 AC 87 ms
12,160 KB
testcase_09 AC 84 ms
12,160 KB
testcase_10 AC 83 ms
12,160 KB
testcase_11 AC 84 ms
12,160 KB
testcase_12 AC 85 ms
12,288 KB
testcase_13 AC 84 ms
12,288 KB
testcase_14 AC 80 ms
12,288 KB
testcase_15 TLE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

N=gets.to_i
m=(0..N).map{[0]*7};m[0][0]=1.0
N.times{|i|6.times{|j|m[i+1][j+1]=m[i][j]*(6-j)/6+m[i][j+1]*-~j/6}}
p m[N][6]
0