結果

問題 No.1009 面積の求め方
ユーザー TANIGUCHI KousukeTANIGUCHI Kousuke
提出日時 2020-04-01 12:40:45
言語 Ruby
(3.3.0)
結果
AC  
実行時間 79 ms / 2,000 ms
コード長 52 bytes
コンパイル時間 227 ms
コンパイル使用メモリ 11,508 KB
実行使用メモリ 15,604 KB
最終ジャッジ日時 2023-09-08 15:48:04
合計ジャッジ時間 2,887 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
15,416 KB
testcase_01 AC 77 ms
15,192 KB
testcase_02 AC 77 ms
15,532 KB
testcase_03 AC 79 ms
15,324 KB
testcase_04 AC 77 ms
15,148 KB
testcase_05 AC 77 ms
15,432 KB
testcase_06 AC 74 ms
15,404 KB
testcase_07 AC 76 ms
15,536 KB
testcase_08 AC 75 ms
15,364 KB
testcase_09 AC 75 ms
15,288 KB
testcase_10 AC 74 ms
15,584 KB
testcase_11 AC 75 ms
15,356 KB
testcase_12 AC 74 ms
15,576 KB
testcase_13 AC 75 ms
15,324 KB
testcase_14 AC 76 ms
15,604 KB
testcase_15 AC 76 ms
15,504 KB
testcase_16 AC 74 ms
15,360 KB
testcase_17 AC 75 ms
15,316 KB
testcase_18 AC 75 ms
15,320 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

A, B = gets.split.map(&:to_f)
puts (B - A) ** 3 / 6
0