結果

問題 No.3151 natural math of inscribed circle
コンテスト
ユーザー 👑 tails
提出日時 2025-05-21 08:50:38
言語 Perl
(5.42.1)
コンパイル:
perl -cw _filename_
実行:
perl -X _filename_
結果
AC  
実行時間 1 ms / 2,000 ms
+ 871µs
コード長 64 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 71 ms
コンパイル使用メモリ 7,216 KB
実行使用メモリ 9,408 KB
最終ジャッジ日時 2026-07-12 12:01:59
合計ジャッジ時間 1,984 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 41
権限があれば一括ダウンロードができます
コンパイルメッセージ
Warning: Use of "sqrt" without parentheses is ambiguous at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #
raw source code

<>=~/ .* /;$s=($`+$&+$')/2;print sqrt+($s-$`)*($s-$&)*($s-$')/$s
0