結果

問題 No.2070 Icosahedron
ユーザー tokumini_ss
提出日時 2022-09-16 21:22:35
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 189 bytes
コンパイル時間 2,147 ms
コンパイル使用メモリ 192,380 KB
最終ジャッジ日時 2025-02-07 06:02:04
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main() {
    double N;
    cin >> N;
    const double V = 5 * (3 + sqrt(5)) * pow(N, 3) / 12;
    cout << setprecision(12) << V << endl;
}
0