結果

問題 No.1622 三角形の面積
ユーザー yukster714yukster714
提出日時 2023-04-19 20:12:06
言語 Perl
(5.38.2)
結果
AC  
実行時間 4 ms / 2,000 ms
コード長 94 bytes
コンパイル時間 55 ms
コンパイル使用メモリ 6,944 KB
実行使用メモリ 5,504 KB
最終ジャッジ日時 2024-04-22 22:46:01
合計ジャッジ時間 757 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
5,248 KB
testcase_01 AC 4 ms
5,504 KB
testcase_02 AC 4 ms
5,376 KB
testcase_03 AC 4 ms
5,376 KB
testcase_04 AC 4 ms
5,504 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

chomp ($n = <>);
while($n--){
    chomp ($r = <>);
    print 0.75 * sqrt(3) * $r * $r, "\n";
}
0