結果

問題 No.1622 三角形の面積
ユーザー maguroflymagurofly
提出日時 2021-07-23 21:21:22
言語 Ruby
(3.3.0)
結果
AC  
実行時間 81 ms / 2,000 ms
コード長 83 bytes
コンパイル時間 282 ms
コンパイル使用メモリ 11,200 KB
実行使用メモリ 15,296 KB
最終ジャッジ日時 2023-09-25 21:01:42
合計ジャッジ時間 1,609 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
15,236 KB
testcase_01 AC 80 ms
15,296 KB
testcase_02 AC 81 ms
15,152 KB
testcase_03 AC 79 ms
15,184 KB
testcase_04 AC 77 ms
15,084 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

t = gets.to_i
t.times do
    r = gets.to_f
    puts 3 * Math.sqrt(3) * r**2 / 4
end
0