結果
問題 | No.89 どんどんドーナツどーんといこう! |
ユーザー | EnglishStudytwi |
提出日時 | 2015-05-15 22:53:28 |
言語 | PHP (8.3.4) |
結果 |
WA
|
実行時間 | - |
コード長 | 189 bytes |
コンパイル時間 | 627 ms |
コンパイル使用メモリ | 18,600 KB |
実行使用メモリ | 18,936 KB |
最終ジャッジ日時 | 2023-09-20 08:27:35 |
合計ジャッジ時間 | 1,622 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | AC | 17 ms
18,760 KB |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | AC | 17 ms
18,732 KB |
testcase_09 | AC | 16 ms
18,768 KB |
testcase_10 | WA | - |
コンパイルメッセージ
No syntax errors detected in Main.php
ソースコード
<?php $c = trim(fgets(STDIN)); fscanf(STDIN, "%d %d", $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";