結果

問題 No.1009 面積の求め方
ユーザー kikage
提出日時 2020-03-22 18:13:21
言語 C++11
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 148 bytes
コンパイル時間 569 ms
コンパイル使用メモリ 57,692 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-25 15:01:49
合計ジャッジ時間 1,373 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <cmath>
using namespace std;
int main() {
	double a,b;
	cin >> a >> b;
	cout << pow(b - a, 3) / 6 << endl;
	return 0;
}
0