結果

問題 No.567 コンプリート
ユーザー koba-e964koba-e964
提出日時 2017-09-08 22:52:12
言語 Ruby
(3.3.0)
結果
AC  
実行時間 83 ms / 2,000 ms
コード長 68 bytes
コンパイル時間 67 ms
コンパイル使用メモリ 11,276 KB
実行使用メモリ 15,632 KB
最終ジャッジ日時 2023-08-21 05:51:54
合計ジャッジ時間 2,293 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
15,508 KB
testcase_01 AC 83 ms
15,364 KB
testcase_02 AC 82 ms
15,368 KB
testcase_03 AC 83 ms
15,584 KB
testcase_04 AC 83 ms
15,632 KB
testcase_05 AC 83 ms
15,388 KB
testcase_06 AC 82 ms
15,312 KB
testcase_07 AC 82 ms
15,572 KB
testcase_08 AC 81 ms
15,496 KB
testcase_09 AC 83 ms
15,488 KB
testcase_10 AC 82 ms
15,564 KB
testcase_11 AC 82 ms
15,304 KB
testcase_12 AC 82 ms
15,584 KB
testcase_13 AC 82 ms
15,492 KB
testcase_14 AC 82 ms
15,584 KB
testcase_15 AC 82 ms
15,324 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n=gets.to_f
puts 1-6*(5.0/6)**n+15*(4.0/6)**n-20/2**n+15/3**n-6/6**n
0