結果
問題 | No.2070 Icosahedron |
ユーザー |
|
提出日時 | 2022-09-16 21:43:29 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 266 bytes |
コンパイル時間 | 1,683 ms |
コンパイル使用メモリ | 193,140 KB |
最終ジャッジ日時 | 2025-02-07 09:15:23 |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 9 |
ソースコード
#include <bits/stdc++.h>using namespace std;#define rep(i,n) for(int i = 0; i < (int)n; i++)using ll = long long;int main(){double n;cin >> n;double ans = (15.0+5.0*sqrt(5))/12.0*n*n*n;cout << fixed << setprecision(12) << ans << endl;return 0;}