結果

問題 No.2070 Icosahedron
ユーザー VvyLw
提出日時 2025-04-03 17:07:03
言語 D
(dmd 2.109.1)
結果
WA  
実行時間 -
コード長 293 bytes
コンパイル時間 2,655 ms
コンパイル使用メモリ 197,640 KB
実行使用メモリ 7,328 KB
最終ジャッジ日時 2025-04-03 17:07:07
合計ジャッジ時間 3,587 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 1 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

import std;
import core.bitop;
import core.checkedint;
import core.time;

const c = 2.18169499062491237350;

void main() {
	const n = readln.chomp.to!int;
	writeln(format("%.12f", c * (n ^^ 3)));
}

pragma(inline)
string yes(const bool b) pure @nogc nothrow @safe {
	return b ? "Yes" : "No";
}
0