結果

問題 No.89 どんどんドーナツどーんといこう!
ユーザー EnglishStudytwiEnglishStudytwi
提出日時 2015-05-20 22:51:00
言語 PHP
(8.3.4)
結果
AC  
実行時間 40 ms / 5,000 ms
コード長 174 bytes
コンパイル時間 2,154 ms
コンパイル使用メモリ 31,892 KB
実行使用メモリ 31,668 KB
最終ジャッジ日時 2024-04-15 19:35:49
合計ジャッジ時間 3,251 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
31,332 KB
testcase_01 AC 39 ms
31,124 KB
testcase_02 AC 39 ms
31,116 KB
testcase_03 AC 37 ms
31,100 KB
testcase_04 AC 38 ms
31,000 KB
testcase_05 AC 39 ms
30,868 KB
testcase_06 AC 39 ms
30,812 KB
testcase_07 AC 40 ms
31,112 KB
testcase_08 AC 37 ms
30,948 KB
testcase_09 AC 38 ms
31,668 KB
testcase_10 AC 39 ms
31,584 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
fscanf(STDIN, "%d", $c);
fscanf(STDIN, "%d %d", $r_in, $r_out);

$cal = $c * 2.0 * pi() * (($r_out + $r_in) / 2) * pi() * pow(($r_out - $r_in) / 2, 2);

echo $cal."\n";
0