結果

問題 No.89 どんどんドーナツどーんといこう!
ユーザー EnglishStudytwiEnglishStudytwi
提出日時 2015-05-20 22:46:07
言語 PHP
(8.3.4)
結果
WA  
実行時間 -
コード長 177 bytes
コンパイル時間 50 ms
コンパイル使用メモリ 18,832 KB
実行使用メモリ 19,000 KB
最終ジャッジ日時 2023-09-20 10:19:31
合計ジャッジ時間 816 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 15 ms
18,980 KB
testcase_02 AC 15 ms
18,824 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 15 ms
18,660 KB
testcase_07 WA -
testcase_08 AC 15 ms
18,812 KB
testcase_09 AC 14 ms
18,908 KB
testcase_10 AC 14 ms
19,000 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 * pi() * ($r_out + $r_in) / 2 * pi() * pow((($r_in - $r_out) / 2), 2);

echo (int)$cal."\n";
0