結果

問題 No.89 どんどんドーナツどーんといこう!
ユーザー 👑 hos.lyrichos.lyric
提出日時 2020-04-03 10:12:50
言語 Ruby
(3.2.2)
結果
AC  
実行時間 87 ms / 5,000 ms
コード長 80 bytes
コンパイル時間 82 ms
コンパイル使用メモリ 11,552 KB
実行使用メモリ 15,284 KB
最終ジャッジ日時 2023-09-11 03:12:15
合計ジャッジ時間 1,996 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 84 ms
15,248 KB
testcase_01 AC 83 ms
15,092 KB
testcase_02 AC 83 ms
15,284 KB
testcase_03 AC 84 ms
15,136 KB
testcase_04 AC 84 ms
15,064 KB
testcase_05 AC 87 ms
15,052 KB
testcase_06 AC 83 ms
15,128 KB
testcase_07 AC 84 ms
15,056 KB
testcase_08 AC 83 ms
15,024 KB
testcase_09 AC 83 ms
15,284 KB
testcase_10 AC 84 ms
15,116 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

c=gets.to_f
i,o=gets.split.map &:to_f
p c*2*Math::PI**2*((o+i)/2)*((o-i)/2)**2;
0