結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 78 ms
15,452 KB
testcase_01 AC 666 ms
15,692 KB
testcase_02 AC 786 ms
15,628 KB
testcase_03 AC 379 ms
15,904 KB
testcase_04 AC 336 ms
15,688 KB
testcase_05 AC 282 ms
15,740 KB
testcase_06 AC 435 ms
15,992 KB
testcase_07 AC 170 ms
15,652 KB
testcase_08 AC 269 ms
15,744 KB
testcase_09 AC 662 ms
15,744 KB
testcase_10 AC 695 ms
15,872 KB
testcase_11 AC 769 ms
16,004 KB
testcase_12 AC 812 ms
15,772 KB
testcase_13 AC 776 ms
15,932 KB
testcase_14 AC 783 ms
15,912 KB
testcase_15 AC 780 ms
15,912 KB
testcase_16 AC 797 ms
15,688 KB
testcase_17 AC 762 ms
15,636 KB
testcase_18 AC 788 ms
15,440 KB
testcase_19 AC 772 ms
15,488 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n=gets.to_i
n.times do |i|
  a=gets.to_i
  y = 1/Math::E/Math::PI**2
  puts (2*Math::E+Math::E**Math.cos(y/a))/3*y
end
0