結果

問題 No.1622 三角形の面積
ユーザー masashi0217masashi0217
提出日時 2021-07-26 23:49:46
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 110 bytes
コンパイル時間 47 ms
コンパイル使用メモリ 11,236 KB
実行使用メモリ 15,440 KB
最終ジャッジ日時 2023-09-29 20:35:25
合計ジャッジ時間 992 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

t = gets.chomp.to_i
t.times do
  r = gets.chomp.to_i
  ans =  3 * (r**2) * 173205
  puts ans / 200000.to_f
end
0