結果
問題 | No.2070 Icosahedron |
ユーザー |
|
提出日時 | 2022-09-16 21:24:09 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 268 bytes |
コンパイル時間 | 1,754 ms |
コンパイル使用メモリ | 192,068 KB |
最終ジャッジ日時 | 2025-02-07 06:03:39 |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 9 |
ソースコード
#include <bits/stdc++.h>using namespace std;int main() {iostream::sync_with_stdio(0), cin.tie(0), cout.tie(0);cout << fixed << setprecision(20);double n;cin >> n;double v = 5.0 * (3 + sqrt(5)) / 12.0 * n * n * n;cout << v << '\n';return 0;}