結果

問題 No.1539 不可欠な部分
ユーザー そすうぽよそすうぽよ
提出日時 2021-06-08 21:48:52
言語 Ruby
(3.3.0)
結果
AC  
実行時間 780 ms / 2,000 ms
コード長 84 bytes
コンパイル時間 431 ms
コンパイル使用メモリ 11,176 KB
実行使用メモリ 16,000 KB
最終ジャッジ日時 2023-08-18 02:37:43
合計ジャッジ時間 32,518 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
15,456 KB
testcase_01 AC 658 ms
15,992 KB
testcase_02 AC 757 ms
15,832 KB
testcase_03 AC 392 ms
15,708 KB
testcase_04 AC 335 ms
15,988 KB
testcase_05 AC 279 ms
15,712 KB
testcase_06 AC 424 ms
15,996 KB
testcase_07 AC 168 ms
15,680 KB
testcase_08 AC 268 ms
15,716 KB
testcase_09 AC 655 ms
15,772 KB
testcase_10 AC 700 ms
15,748 KB
testcase_11 AC 775 ms
15,900 KB
testcase_12 AC 767 ms
15,696 KB
testcase_13 AC 775 ms
16,000 KB
testcase_14 AC 764 ms
15,964 KB
testcase_15 AC 765 ms
15,736 KB
testcase_16 AC 780 ms
15,712 KB
testcase_17 AC 760 ms
16,000 KB
testcase_18 AC 766 ms
15,504 KB
testcase_19 AC 771 ms
15,420 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

e=Math::E
y=1/e/Math::PI**2
gets.to_i.times{puts (2*e+e**Math.cos(y/gets.to_i))/3*y}
0