結果
問題 | No.2070 Icosahedron |
ユーザー |
![]() |
提出日時 | 2022-09-16 22:52:13 |
言語 | C++17 (gcc 11.2.0 + boost 1.78.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 642 bytes |
コンパイル時間 | 634 ms |
使用メモリ | 6,952 KB |
最終ジャッジ日時 | 2023-01-11 08:10:25 |
合計ジャッジ時間 | 1,618 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge13 |
テストケース
テストケース表示入力 | 結果 | 実行時間 使用メモリ |
---|---|---|
testcase_00 | AC | 1 ms
4,904 KB |
testcase_01 | AC | 1 ms
4,904 KB |
testcase_02 | AC | 1 ms
4,904 KB |
testcase_03 | AC | 2 ms
4,908 KB |
testcase_04 | AC | 1 ms
6,948 KB |
testcase_05 | AC | 2 ms
4,900 KB |
testcase_06 | AC | 2 ms
6,952 KB |
testcase_07 | AC | 2 ms
4,904 KB |
testcase_08 | AC | 2 ms
4,904 KB |
testcase_09 | AC | 1 ms
4,900 KB |
testcase_10 | AC | 2 ms
4,904 KB |
ソースコード
#include <iostream> #include <string> #include <vector> #include <algorithm> #include <atcoder/modint> using namespace std; using i32 = int32_t; using u32 = uint32_t; using i64 = int64_t; using u64 = uint64_t; #define rep(i,n) for(int i=0; i<(int)(n); i++) using Modint = atcoder::static_modint<998244353>; int main(){ double N; cin >> N; cout << fixed; cout.precision(10); double ans = 2.18169499062491237350 * N * N * N; cout << ans << endl; return 0; } struct ios_do_not_sync{ ios_do_not_sync(){ std::ios::sync_with_stdio(false); std::cin.tie(nullptr); } } ios_do_not_sync_instance;