結果
問題 | No.89 どんどんドーナツどーんといこう! |
ユーザー | EnglishStudytwi |
提出日時 | 2015-05-15 22:54:11 |
言語 | PHP (8.3.4) |
結果 |
WA
|
実行時間 | - |
コード長 | 189 bytes |
コンパイル時間 | 78 ms |
コンパイル使用メモリ | 18,648 KB |
実行使用メモリ | 19,116 KB |
最終ジャッジ日時 | 2023-09-20 08:27:44 |
合計ジャッジ時間 | 984 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | AC | 16 ms
18,980 KB |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | AC | 16 ms
19,024 KB |
testcase_09 | AC | 16 ms
19,004 KB |
testcase_10 | WA | - |
コンパイルメッセージ
No syntax errors detected in Main.php
ソースコード
<?php $c = trim(fgets(STDIN)); fscanf(STDIN, "%f %f", $in, $out); $r_in = pow($in, 2) * 3.14; $r_out = pow($out, 2) * 3.14; $ans = ($r_in - $r_out) * $c; echo sprintf("%0.5f", $ans)."\n";