結果
問題 | No.2070 Icosahedron |
ユーザー |
![]() |
提出日時 | 2024-01-30 00:20:45 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 24 ms / 2,000 ms |
コード長 | 492 bytes |
コンパイル時間 | 1,837 ms |
コンパイル使用メモリ | 191,816 KB |
最終ジャッジ日時 | 2025-02-19 00:43:16 |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 9 |
ソースコード
#include <bits/stdc++.h> using namespace std; using ll = long long; using P = pair<ll, ll>; #define rep(i, a, b) for(ll i = a; i < b; ++i) #define rrep(i, a, b) for(ll i = a; i >= b; --i) constexpr ll inf = 4e18; struct SetupIO { SetupIO() { ios::sync_with_stdio(0); cin.tie(0); cout << fixed << setprecision(30); } } setup_io; constexpr long double ans = 2.18169499062491237350; int main(void) { ll n; cin >> n; cout << ans * n * n * n << '\n'; }