結果
問題 | No.2070 Icosahedron |
ユーザー |
![]() |
提出日時 | 2023-03-03 08:45:50 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 315 bytes |
コンパイル時間 | 3,360 ms |
コンパイル使用メモリ | 249,244 KB |
最終ジャッジ日時 | 2025-02-11 01:21:32 |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 9 |
ソースコード
#include <bits/stdc++.h>#include <atcoder/all>using namespace atcoder;using namespace std;using ll=long long;using ld=double;ld pie=3.14159265359;ll mod=998244353;long long inf=100000000000000001;int main(){ld n;cin >> n;cout << setprecision(100) << (5.0*(3.0+sqrt(5))*n*n*n)/12.0 << endl;}