結果
問題 |
No.1180 無限和
|
ユーザー |
![]() |
提出日時 | 2020-08-22 16:32:41 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 1,000 ms |
コード長 | 208 bytes |
コンパイル時間 | 767 ms |
コンパイル使用メモリ | 79,312 KB |
最終ジャッジ日時 | 2025-01-13 10:13:40 |
ジャッジサーバーID (参考情報) |
judge5 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 40 |
ソースコード
#include <cmath> #include <iostream> using namespace std; using lint = int64_t; constexpr double Pi = 3.141592653589793; int main() { int n; cin >> n; cout << (lint)(pow(Pi * Pi / 6.0, n) / n) << endl; }